AppleCommander/DEVELOPER.md

1012 B

Developer Notes

AppleCommander has switched to using Gradle for build and build dependencies.

There is still a bunch of ANT related build information around. They no longer apply and "should" get cleaned up over time.

Tests

Note that test currently fail due to dependencies on disk images not present in the repository.

$ ./gradlew test

Building

$ ./gradlew assemble

BUILD SUCCESSFUL in 2s
6 actionable tasks: 6 executed

This will create the build directory and populate with uber-jars in build/libs.

To run the command-line version of AppleCommander, use the following:

  • All platforms: java -jar build/libs/AppleCommander-ac-VERSION.jar

To launch the GUI version of AppleCommander, use the following:

  • Linux: java -jar build/libs/AppleCommander-linux64-gtk-VERSION.jar
  • Windows: java -jar build/libs/AppleCommander-win64-VERSION.jar
  • Mac OS X: java -XstartOnFirstThread -jar build/libs/AppleCommander-macosx-VERSION.jar