diff --git a/README.md b/README.md index db3b4f3..8a3cbe5 100644 --- a/README.md +++ b/README.md @@ -34,25 +34,28 @@ It is recommended to use the latest 0.3.0 alpha version. Despite the "alpha" label, these versions now bundle the necessary Java runtime and they contain bug fixes for reading some model output files, as well as other fixes and enhancements. +Development is only targeting Windows right now due to significant bugs in the Linux version of +OpenJFX. + ### Running -* For Windows: double-click on "SkewTVSP.cmd" inside installation folder -* For Unix-like systems: run `SkewTVSP.sh` inside installation folder +* Windows 7 SP1 or later (including Windows 8, 8.1, 10) + +Double-click on "SkewTVSP.cmd" inside installation folder ### Building +* Windows 7 SP1 or later (including Windows 8, 8.1, 10) * [OpenJDK 11](https://adoptopenjdk.net/) * [OpenJFX 11 SDK](https://gluonhq.com/products/javafx/) * [Apache Maven 3](https://maven.apache.org/) -* [7-Zip](https://www.7-zip.org/) (only on Windows, optional) +* [7-Zip](https://www.7-zip.org/) Maven should pull in all required dependencies automatically. Simply run `mvn clean compile package` to build and `mvn exec:java` to run. -To create a distribution, run `.\create-dist` on Windows or `./create-dist.sh` on Unix-like -systems. -To create an archive file instead of a folder, run `.\create-dist archive` or -`./create-dist.sh archive`. +To create a distribution, run `.\create-dist.cmd` or `.\create-dist.cmd archive` to create a folder +or an archive file, respectively. ## Citing/Acknowledging diff --git a/create-dist.sh b/create-dist.sh deleted file mode 100755 index 16b00dd..0000000 --- a/create-dist.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -version=`mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -DforceStdout -q` -echo "Creating package for version $version" - -if [ ! -f "./target/SkewTVSP-$version.jar" ]; then - echo "Running maven..." - mvn clean compile package - echo "...finished" -fi - -if [ -d "./SkewTVSP-$version" ]; then - rm -rf ./SkewTVSP-$version -fi -jlink --output ./SkewTVSP-$version --no-header-files --no-man-pages --compress=2 --strip-debug --add-modules java.base,java.datatransfer,java.desktop,java.logging,java.management,java.naming,java.rmi,java.scripting,java.security.jgss,java.sql,java.xml,jdk.unsupported,jdk.unsupported.desktop - -cp ./target/SkewTVSP-$version.jar ./SkewTVSP-$version/ -cp ./license.txt ./SkewTVSP-$version/ -echo "#!/bin/bash" > ./SkewTVSP-$version/SkewTVSP.sh -echo "\`dirname \"\$0\"\`/bin/java -jar \`dirname \"\$0\"\`/SkewTVSP-$version.jar" >> ./SkewTVSP-$version/SkewTVSP.sh -chmod +x ./SkewTVSP-$version/SkewTVSP.sh - -if [ "$1" = 'archive' ]; then - tar czf SkewTVSP-$version.tar.gz SkewTVSP-$version - rm -rf ./SkewTVSP-$version -fi -