Skip to content

Building

Martin Paljak edited this page Nov 6, 2017 · 14 revisions

Building GlobalPlatformPro is currently split into two stages:

  • Maven (for dependencies, compile/test and pre-packaging into shaded jar)
  • Ant (produces final trimmed "executable .jar" and/or .exe, to be released on Github)

Reasons for this are historical and relate to "what is most easily available for new developers and less annoying to work with" and is due to change without notice. One of the reasons for Maven for dependency management is to make the library easily available for integrators, via public Maven repositories.

Thus, to build GlobalPlaformPro, as it is available from Github, run:

git clone https://github.com/martinpaljak/GlobalPlatformPro
cd GlobalPlatformPro
mvn clean package
ant

NOTES:

  • mvn package produces target/gp.jar that is also usable.
  • ant produces gp.jar
  • ant windist creates gp.exe, assuming the presence of launch4j in ext/

Please note, that both running and compiling GPPro requires Java 1.8. Oracle Java is preferred (and tested), but OpenJDK should also work.