commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r609442 - in /commons/proper/pool/branches/1_4_RELEASE_BRANCH: build.properties.sample build.xml
Date Sun, 06 Jan 2008 22:21:59 GMT
Author: psteitz
Date: Sun Jan  6 14:21:59 2008
New Revision: 609442

URL: http://svn.apache.org/viewvc?rev=609442&view=rev
Log:
Modernized Ant build.
JIRA: POOL-118
Reported and patched by Henri Yandell

Removed:
    commons/proper/pool/branches/1_4_RELEASE_BRANCH/build.properties.sample
Modified:
    commons/proper/pool/branches/1_4_RELEASE_BRANCH/build.xml

Modified: commons/proper/pool/branches/1_4_RELEASE_BRANCH/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/pool/branches/1_4_RELEASE_BRANCH/build.xml?rev=609442&r1=609441&r2=609442&view=diff
==============================================================================
--- commons/proper/pool/branches/1_4_RELEASE_BRANCH/build.xml (original)
+++ commons/proper/pool/branches/1_4_RELEASE_BRANCH/build.xml Sun Jan  6 14:21:59 2008
@@ -36,7 +36,7 @@
       <property name="cp" value=""/>
 
       <!-- now combine the classpaths -->
-      <property name="classpath" value="${cp}:${junit.jar}"/>
+      <property name="classpath" value="${cp}"/>
 
       <property name="name" value="commons-pool"/>
       <property name="title" value="Apache Commons Object Pooling Package"/>
@@ -54,7 +54,6 @@
 
       <property name="test.entry" value="org.apache.commons.pool.TestAll"/>
       <property name="test.failonerror" value="true" /> 
-      <property name="test.runner" value="junit.textui.TestRunner" /> 
      
       <property name="javadoc.dir" value="${dist.dir}/docs/api"/>
       <property name="javadoc.bottom" value="&lt;small&gt;Copyright &amp;copy;
2001-2003 Apache Software Foundation. Documenation generated ${TODAY}&lt;/small&gt;."/>
@@ -133,14 +132,14 @@
 
    <target name="test" depends="compile-test" description="runs (junit) unit tests">
       <echo message="Because we need to sleep to test the eviction threads, this takes
a little while (around 35 seconds)..."/>
-      <java classname="${test.runner}" fork="yes" failonerror="${test.failonerror}">
-        <arg value="${test.entry}"/> 
+      <junit printsummary="true" showoutput="true" fork="yes" haltonerror="${test.failonerror}">
         <classpath>
           <pathelement location="${build.classes.dir}" /> 
           <pathelement location="${build.test-classes.dir}" /> 
           <pathelement path="${classpath}" /> 
         </classpath>
-      </java>
+        <test name="${test.entry}"/>
+      </junit>
    </target>
 
    <target name="build-jar" depends="compile">



Mime
View raw message