From 17f15daa92c98afcab7d4a6caf3a83a2ba8ba2a5 Mon Sep 17 00:00:00 2001 From: Rob Greene Date: Mon, 20 Jan 2020 16:18:37 -0600 Subject: [PATCH] Updating developer notes to include info on building for Java 5. --- DEVELOPER.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/DEVELOPER.md b/DEVELOPER.md index 333c558..4abdc11 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -6,8 +6,6 @@ There is still a bunch of ANT related build information around. They no longer ## Tests -> Note that test currently fail due to dependencies on disk images not present in the repository. - ``` $ ./gradlew test ``` @@ -19,14 +17,23 @@ $ ./gradlew assemble BUILD SUCCESSFUL in 2s 6 actionable tasks: 6 executed + +$ tools/retrolambda.sh build/libs/AppleCommander-ac-.jar +Converting... +Retrolambda 2.5.6 +Repackaging to build/libs/AppleCommander-ac--java5.jar ``` -This will create the `build` directory and populate with uber-jars in `build/libs`. +This will: +1. Create the `build` directory and populate with uber-jars in `build/libs`. +2. Create a Java 5 variant of the `ac` tool in `AppleCommander-ac--java5.jar`. (Replace `` with version.) To run the command-line version of AppleCommander, use the following: * All platforms: `java -jar build/libs/AppleCommander-ac-VERSION.jar` +* Java 5: + `java -jar build/libs/AppleCommander-ac-VERSION-java5.jar` To launch the GUI version of AppleCommander, use the following: