Giter Site home page Giter Site logo

pablovaldivia / idempiere-target-platform-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aguerrave/idempiere-target-platform-plugin

0.0 1.0 0.0 8 KB

This is a smart target platform for iDempiere's plugins

Java 84.98% Shell 9.96% Batchfile 5.07%

idempiere-target-platform-plugin's Introduction

iDempiere Plugin Template - Target Platform

A target platform is necessary to build a iDempiere plugin. This is a smart target platform.

Prerequisites

  • Java 11, commands java and javac.
  • Maven 3.6.0
  • Set IDEMPIERE_REPOSITORY env variable.

Getting started

Compile target platform:

./plugin-builder

You could create a file plugins.txt with all plugin's paths on newlines, example:

/plugin-path-1
/plugin-path-2

Compile target platform and plugins:

./plugin-builder /plugin-path-1 /plugin-path-2

Use the parameter debug for debug mode example:

./plugin-builder debug /plugin-path-1 /plugin-path-2

To use .\plugin-builder.bat for windows.

Set commit as qualifier (just for linux) commit parameter:

./plugin-builder commit

Set build number as qualifier (just for linux, usually on jenkins) build parameter:

./plugin-builder build

How it works

Update the pom.xml file

Go to the ./pom.xml file and add the plugin's relative path, example com.ingeint.template:

    <modules>
        <module>com.ingeint.template.p2.targetplatform</module>
        <module>../com.ingeint.template</module>
    </modules>

Add the iDempiere's absolute path in p2.targetplatform

Go to com.ingeint.template.p2.targetplatform/com.ingeint.template.p2.targetplatform.target and update the path:

    <repository location="file:///home/user/idempiere/org.idempiere.p2/target/repository"/>

Update the plugin's relative path to iDempiere

Go to com.ingeint.template.p2.targetplatform/pom.xml and update:

    <relativePath>../../idempiere/org.idempiere.parent/pom.xml</relativePath>

idempiere-target-platform-plugin's People

Contributors

sauljabin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.