diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-05-11 16:24:41 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2014-05-11 16:24:41 +0200 |
commit | 15a683934ee1a7eee210955fe9cb063feeee5f63 (patch) | |
tree | 4f7d1e01a32e24457035d2fc51ca621898ea91bd | |
parent | 60f8b6404af678e4a382c8a5f05ffbf1767e788e (diff) | |
download | Datafiller-15a683934ee1a7eee210955fe9cb063feeee5f63.tar.gz |
run.sh: use build/classes instead of jar
-rwxr-xr-x | run.sh | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,12 @@ set -e # Change dir to project cd "$(dirname "$(readlink -f "$0")")" +# java jar is slower. Also note that netbeans might already have built the +# classes so `ant compile` will be faster. +ant -q compile +java -cp build/classes:$(echo lib/*.jar | tr \ :) main.Main "$@" +exit # Do not build jar + jar=dist/Datafiller.jar # Build jar if missing [ -e "$jar" ] || ant jar |