Java FX installer for Interlok. This automatically downloads the selected optional components along with the base system to build an Interlok installation in your preferred location.
- It uses gradle behind the scenes.
- It makes use our parent build.gradle https://github.com/adaptris-labs/interlok-build-parent
- You can optionally download the generated build.gradle to ease your transition to using build.gradle since this is our preferred project management tool.
$ ./gradlew clean jar
$ ./gradlew clean uberJar -PtargetPlatform=(win|linux|mac)
$ ./gradlew clean assemble -PtargetPlatform=(win|linux|mac)
java -jar ./build/libs/interlok-installer-(version)-(win|linux|mac).jar
First unzip or untar the archive file, then launch bin/interlok-installer.bat or bin/interlok-installer depending if you are on windows or linux/mac.
The simple jar, the uber jar and the targeted platform archive will be published (zip file on windows, tar file on linux or mac).
$ ./gradlew clean publish -PtargetPlatform=(win|linux|mac)
$ ./gradlew clean check
All the base configuration is stored in src/main/resources/installer.properties which can be overriden either at build time; or via system properties on startup.
java -Dinterlok.version=3.12.0-RELEASE ./build/libs/interlok-installer-(version)-(win|linux|mac).jar
If you want to include a different maven compatible nexus instance (either you're mirroring our public repo, or private dependencies are stored there) then you can also do this either as a system property or do it when the installer window presents itself.
java -DadditionalNexusBaseUrl=http://your-nexus.com/path/to/content ./build/libs/interlok-installer-(version)-(win|linux|mac).jar
- To start the installed Interlok you can either executable the bat or bash file in the bin directory or run
java -jar lib/interlok-boot.jar. Please note that on linux and mac you may need to make the bash file executablechmod +x ./start-interlok - If you want to "run as Windows services" then we suggest using something like https://github.com/winsw/winsw to wrap the java process.
- You will have to explicitly choose all the optional components you want
- You will need internet access