diff --git a/build.xml b/build.xml index 8072d8e09..8d33ae12e 100644 --- a/build.xml +++ b/build.xml @@ -30,12 +30,12 @@ + - - - - + + + @@ -111,6 +111,7 @@ + @@ -121,6 +122,7 @@ + @@ -343,9 +345,10 @@ + depends="check-availability" unless="skip.download"> + @@ -360,6 +363,14 @@ usetimestamp="true" ignoreerrors="true" src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/> + + + + + + diff --git a/test-jar.xml b/test-jar.xml index c6e12ec25..e5a20a52d 100644 --- a/test-jar.xml +++ b/test-jar.xml @@ -21,25 +21,23 @@ Compiles and runs unit tests against distribution jar(s). Use .antrc or the command line to control the jdk used to execute this build file. - Assumes that the distribution jar to be tested is in the base directory. - Use the "jardir" property to specify the path to the directory containing - the jar. Any other jars in this directory will also be added to the - classpath. + Assumes that the distribution jar to be tested is in the basedir/lib, along + with any dependent jars (junit, hamcrest). Use the "libdir" property to specify + the path to the directory containing these jars. The default target, "test," executes clean as a dependency. --> - - + - - + + + - - + @@ -58,24 +56,17 @@ Java library path: ${java.library.path} =========================================================================== - - - - - - - - - + - + - + @@ -88,14 +79,7 @@ - - - ================================= WARNING ================================ - Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed. - ========================================================================== - - - + @@ -106,12 +90,10 @@ - - - - + + - +