Skip to content

ingeint/idempiere-target-platform-plugin

Repository files navigation

iDempiere Plugin Template - Target Platform

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

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
  • Compiling target platform and plugins:
./plugin-builder /plugin-path-1 /plugin-path-2
  • Using parameter debug for debug mode example:
./plugin-builder debug /plugin-path-1 /plugin-path-2

Use .\plugin-builder.bat for windows.

  • Set the current hash commit as qualifier (just for linux) commit parameter (it'll need a $GIT_COMMIT env variable):
./plugin-builder commit
  • Set build number as qualifier (just for linux, usually on jenkins) build parameter (it'll need a $BUILD_NUMBER env variable)::
./plugin-builder build

How does it work?

This script will generate automatically the files to compile any plugin:

  • ./pom.xml
  • com.ingeint.template.p2.targetplatform/com.ingeint.template.p2.targetplatform.target
  • com.ingeint.template.p2.targetplatform/pom.xml

For more information about the plugin structure go here.

About

This is a smart target platform for iDempiere's plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published