As for 2.10.1, JSPWiki is also available on portable binaries
This configuration makes the following assumptions
This configuration makes the following assumptions
The native launchers are under version control and can be re-created manually. In other words there are not automatically built and checked in because
As of 2.11.0-M8 recreating them is really easy, just run the following command
jspwiki-portable> mvn clean package -Dgenerate-native-launchers=true
and that's it.
Under Windows, the above command translates to
# generates the structure needed by the ant commands to build the launchers jspwiki-portable> mvn clean package # downloads launch4j and builds the native launcher for windows jspwiki-portable> ant woas:download-launch4j-for-win woas:create-windows-app -Djspwiki.tomcat.version=$TOMCAT_VERSION # downloads appbundler and builds the native launcher for mac jspwiki-portable> ant woas:download-appbundler-for-mac-on-windows woas:create-mac-app -Djspwiki.tomcat.version=$TOMCAT_VERSION # updates the module with the just created native launchers jspwiki-portable> ant woas:update-tomcat-launchers # builds the portable binaries with the updated native launchers, so manual testing can be performed right away jspwiki-portable> mvn clean package
whereas under Unix platforms, it translates to
# generates the structure needed by the ant commands to build the launchers jspwiki-portable> mvn clean package # downloads launch4j and builds the native launcher for windows jspwiki-portable> ant woas:download-launch4j-for-mac woas:create-windows-app -Djspwiki.tomcat.version=$TOMCAT_VERSION # downloads appbundler and builds the native launcher for mac jspwiki-portable> ant woas:download-appbundler-for-mac woas:mac-app-oracle-jdk -Djspwiki.tomcat.version=$TOMCAT_VERSION # updates the module with the just created native launchers jspwiki-portable> ant woas:update-tomcat-launchers # builds the portable binaries with the updated native launchers, so manual testing can be performed right away jspwiki-portable> mvn clean package
As noted above, the generated woas.exe file and woas.app folder are copied to ./jspwiki-portable/src/overlay/launchers/tomcat; after manual testing of these binaries is performed, they can be committed and pushed.