diff options
author | Sven Gothel <[email protected]> | 2013-02-17 19:43:47 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-02-17 19:43:47 +0100 |
commit | 6b86764f2e195b4046000fd5a7fcf3331ca72d21 (patch) | |
tree | ccc6c824f4c4cdb215c346c8bf29c885df59d38f /make/jogamp-env.xml | |
parent | e4fc97f6c08d58d1a62543fdfda92fddfda6ee68 (diff) |
Add property 'jvmJava.exe' -> ${java.home}/bin/java, default jvm for unit tests; Add optional property 'jvmJava7.exe' for Java7 unit tests.
Diffstat (limited to 'make/jogamp-env.xml')
-rwxr-xr-x | make/jogamp-env.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml index d6ff239..a83397d 100755 --- a/make/jogamp-env.xml +++ b/make/jogamp-env.xml @@ -27,6 +27,16 @@ <echo message="java.version ${java.version}"/> <echo message="java.home ${java.home}"/> + <property name="jvmJava.exe" value="${java.home}/bin/java" /> <!-- the java jvm executable for unit tests --> + <echo message="jvmJava.exe ${jvmJava.exe}"/> + + <condition property="jvmJava7.exe" value="${env.JAVA7_EXE}"> + <not> + <equals arg1="${env.JAVA7_EXE}" arg2="$${env.JAVA7_EXE}" casesensitive="true" /> + </not> + </condition> + <echo message="jvmJava7.exe ${jvmJava7.exe}"/> <!-- optional extra Java7 JVM for unit tests --> + <fail message="Please build using Ant 1.8.0 or higher."> <condition> <not> @@ -224,6 +234,7 @@ <echo message="junit.run.arg0 ${junit.run.arg0}"/> <echo message="junit.run.arg1 ${junit.run.arg1}"/> + </target> </project> |