summaryrefslogtreecommitdiffstats
path: root/make/jogamp-env.xml
diff options
context:
space:
mode:
Diffstat (limited to 'make/jogamp-env.xml')
-rwxr-xr-xmake/jogamp-env.xml21
1 files changed, 16 insertions, 5 deletions
diff --git a/make/jogamp-env.xml b/make/jogamp-env.xml
index ba3d01d..3a3cc53 100755
--- a/make/jogamp-env.xml
+++ b/make/jogamp-env.xml
@@ -49,11 +49,12 @@
<condition>
<not>
<or>
- <contains string="${ant.java.version}" substring="1.6" casesensitive="false" />
- <contains string="${ant.java.version}" substring="1.7" casesensitive="false" />
- <contains string="${ant.java.version}" substring="1.8" casesensitive="false" />
- <contains string="${ant.java.version}" substring="1.9" casesensitive="false" />
- <contains string="${ant.java.version}" substring="2.0" casesensitive="false" />
+ <equals arg1="${ant.java.version}" arg2="1.6"/>
+ <equals arg1="${ant.java.version}" arg2="1.7"/>
+ <equals arg1="${ant.java.version}" arg2="1.8"/>
+ <equals arg1="${ant.java.version}" arg2="1.9"/>
+ <equals arg1="${ant.java.version}" arg2="2.0"/>
+ <equals arg1="${ant.java.version}" arg2="2.1"/>
</or>
</not>
</condition>
@@ -68,6 +69,16 @@
<format property="version.timestamp" pattern="yyyyMMdd"/>
</tstamp>
+ <condition property="javadoc.xarg1" value="-Xdoclint:none" else="-J-Ddummy=val">
+ <or>
+ <equals arg1="${ant.java.version}" arg2="1.8"/>
+ <equals arg1="${ant.java.version}" arg2="1.9"/>
+ <equals arg1="${ant.java.version}" arg2="2.0"/>
+ <equals arg1="${ant.java.version}" arg2="2.1"/>
+ </or>
+ </condition>
+ <echo message="javadoc.xarg1 ${javadoc.xarg1}"/>
+
<condition property="jogamp.jar.codebase" value="${env.JOGAMP_JAR_CODEBASE}">
<not>
<equals arg1="${env.JOGAMP_JAR_CODEBASE}" arg2="$${env.JOGAMP_JAR_CODEBASE}" casesensitive="true" />