aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/targetcommand-awt.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-08-16 14:47:16 +0200
committerSven Gothel <[email protected]>2012-08-16 14:47:16 +0200
commit3732d0162051ffe56af34ba345b59c15bfc6f552 (patch)
tree39bd013c4985dcf556194a90882c9afd30db9791 /make/scripts/targetcommand-awt.sh
parent1272bf884ce32bb723c48999ea6598f58b65f914 (diff)
Adapt to GlueGen ARM Build Changes 422d7a5eb53fca6642ebf4e8910d8b0311bb2597
Note: Patch set not clean since build*xml files contain 'NEWT Broadcom' driver changes of upcoming commit due to pervious uncommitted work. Will be fixed w/ next commit.
Diffstat (limited to 'make/scripts/targetcommand-awt.sh')
-rwxr-xr-xmake/scripts/targetcommand-awt.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/make/scripts/targetcommand-awt.sh b/make/scripts/targetcommand-awt.sh
index af3b5f775..7f95e33a2 100755
--- a/make/scripts/targetcommand-awt.sh
+++ b/make/scripts/targetcommand-awt.sh
@@ -2,6 +2,8 @@
THISDIR=`pwd`
+ROOT_REL=build-linux-armv6hf
+
#XTRA_FLAGS="-Dnewt.test.Screen.disableScreenMode"
XTRA_FLAGS="-Dnewt.test.Screen.disableScreenMode -Djogl.debug.EGL -Dnativewindow.debug.GraphicsConfiguration -Djogl.debug.GLDrawable"
#XTRA_FLAGS="-Dnewt.debug.Screen"
@@ -22,15 +24,15 @@ TSTCLASS=com.jogamp.opengl.test.junit.jogl.demos.es2.awt.TestGearsES2AWT
rsync -av --delete --delete-after --delete-excluded \
--exclude 'build-x86*/' --exclude 'build-linux-x*/' --exclude 'build-android*/' --exclude 'build-win*/' --exclude 'build-mac*/' \
--exclude 'classes/' --exclude 'src/' --exclude '.git/' --exclude '*-java-src.zip' \
+ --exclude 'make/lib/external/' \
jogamp@jogamp02::PROJECTS/JOGL/gluegen jogamp@jogamp02::PROJECTS/JOGL/jogl $THISDIR/projects-cross
cd $THISDIR/projects-cross/jogl/make
function junit_run() {
java \
- -cp ../../gluegen/make/lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:../../gluegen/build-linux-armv7/gluegen-rt.jar:../build-linux-armv7/jar/jogl.all.jar:../build-linux-armv7/jar/jogl.test.jar\
+ -cp ../../gluegen/make/lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:../../gluegen/$ROOT_REL/gluegen-rt.jar:../$ROOT_REL/jar/jogl-all.jar:../$ROOT_REL/jar/jogl-test.jar\
$XTRA_FLAGS \
- com.jogamp.newt.util.MainThread\
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner \
$TSTCLASS \
filtertrace=true \
@@ -46,9 +48,8 @@ function junit_run() {
function main_run() {
java \
- -cp ../../gluegen/make/lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:../../gluegen/build-linux-armv7/gluegen-rt.jar:../build-linux-armv7/jar/jogl.all.jar:../build-linux-armv7/jar/jogl.test.jar\
+ -cp ../../gluegen/make/lib/junit.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-junit.jar:../../gluegen/$ROOT_REL/gluegen-rt.jar:../$ROOT_REL/jar/jogl-all.jar:../$ROOT_REL/jar/jogl-test.jar\
$XTRA_FLAGS \
- com.jogamp.newt.util.MainThread\
$TSTCLASS \
$*
}