summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run.sh b/run.sh
index a8eba08..d6bc225 100755
--- a/run.sh
+++ b/run.sh
@@ -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