You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2011/02/22 00:35:55 UTC
svn commit: r1073187 - /commons/proper/math/branches/MATH_2_X/test-jar.xml
Author: sebb
Date: Mon Feb 21 23:35:55 2011
New Revision: 1073187
URL: http://svn.apache.org/viewvc?rev=1073187&view=rev
Log:
Don't include every jar in every subdir
Allow JUnit to be found from Ant runtime classpath
Modified:
commons/proper/math/branches/MATH_2_X/test-jar.xml
Modified: commons/proper/math/branches/MATH_2_X/test-jar.xml
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/test-jar.xml?rev=1073187&r1=1073186&r2=1073187&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_X/test-jar.xml (original)
+++ commons/proper/math/branches/MATH_2_X/test-jar.xml Mon Feb 21 23:35:55 2011
@@ -40,7 +40,7 @@
<property name="jardir" value="${basedir}"/>
<path id="build.classpath">
<fileset dir="${jardir}">
- <include name="**/*.jar">
+ <include name="*.jar">
</include>
</fileset>
</path>
@@ -104,10 +104,11 @@
<target name="compile-tests" if="Junit.present" depends="junit-present">
<mkdir dir="${testclassesdir}"/>
+ <!-- includeantruntime="true" because JUnit may be provided by Ant -->
<javac destdir="${testclassesdir}"
deprecation="false"
debug="true"
- includeantruntime="false"
+ includeantruntime="true"
source="${compile.source}"
target="${compile.target}"
optimize="false"