You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by pm...@apache.org on 2017/10/23 11:55:28 UTC
svn commit: r1812998 - /jmeter/trunk/build.xml
Author: pmouawad
Date: Mon Oct 23 11:55:28 2017
New Revision: 1812998
URL: http://svn.apache.org/viewvc?rev=1812998&view=rev
Log:
Try to fix travis ci failure with Java 9
Revert to see why option is not passing
Modified:
jmeter/trunk/build.xml
Modified: jmeter/trunk/build.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/build.xml?rev=1812998&r1=1812997&r2=1812998&view=diff
==============================================================================
--- jmeter/trunk/build.xml (original)
+++ jmeter/trunk/build.xml Mon Oct 23 11:55:28 2017
@@ -902,7 +902,8 @@
<classpath>
<pathelement location="${dest.jar.jmeter}/ApacheJMeter.jar"/>
</classpath>
- <jvmarg line="--add-modules java.activation" if:set="java9" />
+ <jvmarg value="--add-modules" if:set="java9" />
+ <jvmarg value="java.activation" if:set="java9" />
<jvmarg value="${jacoco_params}run_gui:java(server)"/>
<sysproperty key="jmeter.home" value="${basedir}"/>
</java>
@@ -2455,7 +2456,8 @@ run JMeter unless all the JMeter jars ar
<path refid="classpath"/>
<path refid="logging.classpath"/>
</classpath>
- <jvmarg line="--add-modules java.activation" if:set="java9" />
+ <jvmarg value="--add-modules" if:set="java9" />
+ <jvmarg value="java.activation" if:set="java9" />
<jvmarg value="${jacoco_params}batchtest:daemon:java(server)"/>
<sysproperty key="java.awt.headless" value="true"/>
<!-- Bug 59723 -->
@@ -2567,7 +2569,8 @@ run JMeter unless all the JMeter jars ar
<path refid="classpath"/>
<path refid="logging.classpath"/>
</classpath>
- <jvmarg line="--add-modules java.activation" if:set="java9" />
+ <jvmarg value="--add-modules" if:set="java9" />
+ <jvmarg value="java.activation" if:set="java9" />
<jvmarg value="${jacoco_params}batchtest:java(${taskname})"/>
<!-- Detect if non-GUI runs OK headless by forcing it to try using non-headless mode -->
<sysproperty key="user.language" value="en"/>
@@ -2882,7 +2885,7 @@ run JMeter unless all the JMeter jars ar
<isset property="jacocoagent"/>
</condition>
<!-- fork="yes" is required or dir attribute is ignored -->
- <java classname="org.apache.jorphan.test.AllTests" fork="yes" failonerror="true" dir="${basedir}/bin" newenvironment="true">
+ <java classname="org.apache.jorphan.test.AllTests" fork="yes" failonerror="true" dir="${basedir}/bin">
<classpath>
<fileset dir="${dest.jar.jmeter}" includes="ApacheJMeter.jar"/>
<fileset dir="${dest.jar}" includes="*.jar"/>
@@ -2891,7 +2894,8 @@ run JMeter unless all the JMeter jars ar
<path refid="classpath"/>
<path refid="logging.classpath"/>
</classpath>
- <jvmarg line="--add-modules java.activation" if:set="java9" />
+ <jvmarg value="--add-modules" if:set="java9" />
+ <jvmarg value="java.activation" if:set="java9" />
<jvmarg value="-server"/>
<jvmarg value="${jacoco_params}_test:java"/>
<jvmarg value="-Dfile.encoding=${test.encoding}"/>