aboutsummaryrefslogtreecommitdiffstats
path: root/make_build.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-06-28 18:54:56 +0200
committerSven Gothel <[email protected]>2013-06-28 18:54:56 +0200
commit28ed823b1a804145b4dd741807a83570abc139e1 (patch)
tree9c03ad7796a72b8f22d05c279b0f8a51d590699d /make_build.sh
parentc15865e0f62a3af9508245554ed9d4000403e2e0 (diff)
build: Use environment var 'PLUGIN_JAR' and property 'plugin.jar' to define plugin.jar for JavaScript bridge; Use javac debug defaults: source,lines.
Diffstat (limited to 'make_build.sh')
-rw-r--r--make_build.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/make_build.sh b/make_build.sh
new file mode 100644
index 0000000..bb05dc4
--- /dev/null
+++ b/make_build.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+CP=lib/ant/ant.jar:lib/ant/ant-launcher.jar
+CP=$CP:lib/xerces/xercesImpl.jar:lib/xerces/xml-apis.jar
+CP=$CP:lib/proguard/proguard.jar
+CP=$CP:$JAVA_HOME/lib/tools.jar
+
+export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+# -Djavacdebug=true \
+# -Djavacdebuglevel="source,lines,vars" \
+#
+# -Djavacdebug=false \
+# -Djavacdebuglevel="" \
+
+java \
+ -Dant.home=lib/ant -cp $CP org.apache.tools.ant.Main -buildfile build.xml $@