You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2017/07/10 19:40:29 UTC
svn commit: r1801518 - /pivot/trunk/build.xml
Author: rwhitcomb
Date: Mon Jul 10 19:40:29 2017
New Revision: 1801518
URL: http://svn.apache.org/viewvc?rev=1801518&view=rev
Log:
Try using "ignoreSystemClasses" to check JUnit availability.
Modified:
pivot/trunk/build.xml
Modified: pivot/trunk/build.xml
URL: http://svn.apache.org/viewvc/pivot/trunk/build.xml?rev=1801518&r1=1801517&r2=1801518&view=diff
==============================================================================
--- pivot/trunk/build.xml (original)
+++ pivot/trunk/build.xml Mon Jul 10 19:40:29 2017
@@ -129,12 +129,8 @@ limitations under the License.
<condition>
<not>
<and>
- <available classname="org.junit.Test">
- <classpath refid="classpath.general" />
- </available>
- <hasmethod classname="org.junit.Assert" method="assertNotEquals">
- <classpath refid="classpath.general" />
- </hasmethod>
+ <available classname="org.junit.Test" ignoreSystemClasses="true" classpath="${classpath}" />
+ <hasmethod classname="org.junit.Assert" method="assertNotEquals" ignoreSystemClasses="true" classpath="${classpath}" />
</and>
</not>
</condition>