summaryrefslogtreecommitdiffstats
path: root/make/scripts
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-12-13 18:03:12 +0100
committerSven Gothel <[email protected]>2010-12-13 18:03:12 +0100
commit5254fe67ca8cfb9867184a9abdfcd19fb829c14a (patch)
treeb69a80b3cc65a0a2d0509c4be97a0f2b4afab66a /make/scripts
parent0535d5075bacb4d4d56bc807310722b073a1412e (diff)
enable joal-demos
Diffstat (limited to 'make/scripts')
-rw-r--r--make/scripts/make.joal-demos.all.linux-x86_64.sh23
-rwxr-xr-xmake/scripts/make.joal-demos.all.win32.bat12
-rwxr-xr-xmake/scripts/make.joal-demos.all.win64.bat12
3 files changed, 47 insertions, 0 deletions
diff --git a/make/scripts/make.joal-demos.all.linux-x86_64.sh b/make/scripts/make.joal-demos.all.linux-x86_64.sh
new file mode 100644
index 0000000..746cf2d
--- /dev/null
+++ b/make/scripts/make.joal-demos.all.linux-x86_64.sh
@@ -0,0 +1,23 @@
+#! /bin/sh
+
+if [ -e ../../setenv-build-jogl-x86_64.sh ] ; then
+ . ../../setenv-build-jogl-x86_64.sh
+fi
+
+if [ -z "$ANT_PATH" ] ; then
+ if [ -e /usr/share/ant/bin/ant -a -e /usr/share/ant/lib/ant.jar ] ; then
+ ANT_PATH=/usr/share/ant
+ export ANT_PATH
+ echo autosetting ANT_PATH to $ANT_PATH
+ fi
+fi
+if [ -z "$ANT_PATH" ] ; then
+ echo ANT_PATH does not exist, set it
+ exit
+fi
+
+# -Drootrel.build=build-x86_64 \
+
+ant \
+ -Drootrel.build=build-x86_64 \
+ $* 2>&1 | tee make.joal-demos.all.linux-x86_64.log
diff --git a/make/scripts/make.joal-demos.all.win32.bat b/make/scripts/make.joal-demos.all.win32.bat
new file mode 100755
index 0000000..49c5b45
--- /dev/null
+++ b/make/scripts/make.joal-demos.all.win32.bat
@@ -0,0 +1,12 @@
+set J2RE_HOME=c:\jre1.6.0_22_x32
+set JAVA_HOME=c:\jdk1.6.0_22_x32
+set ANT_PATH=C:\apache-ant-1.8.0
+
+set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw\bin;%PATH%
+
+set LIB_GEN=%THISDIR%\lib
+set CLASSPATH=.;%THISDIR%\build-win32\classes
+REM -Dc.compiler.debug=true
+REM -Dbuild.noarchives=true
+
+ant -Dbuild.noarchives=true -Drootrel.build=build-win32 %1 %2 %3 %4 %5 %6 %7 %8 %9 > make.joal-demos.all.win32.log 2>&1
diff --git a/make/scripts/make.joal-demos.all.win64.bat b/make/scripts/make.joal-demos.all.win64.bat
new file mode 100755
index 0000000..75de379
--- /dev/null
+++ b/make/scripts/make.joal-demos.all.win64.bat
@@ -0,0 +1,12 @@
+set J2RE_HOME=c:\jre1.6.0_22_x64
+set JAVA_HOME=c:\jdk1.6.0_22_x64
+set ANT_PATH=C:\apache-ant-1.8.0
+
+set PATH=%JAVA_HOME%\bin;%ANT_PATH%\bin;c:\mingw64\bin;c:\mingw\bin;%PATH%
+
+set LIB_GEN=%THISDIR%\lib
+set CLASSPATH=.;%THISDIR%\build-win64\classes
+REM -Dc.compiler.debug=true
+REM -Dbuild.noarchives=true
+
+ant -Dc.compiler.debug=true -Dbuild.noarchives=true -Drootrel.build=build-win64 %1 %2 %3 %4 %5 %6 %7 %8 %9 > make.joal-demos.all.win64.log 2>&1