antoine 2003/08/27 12:12:42
Modified: src/etc/testcases/taskdefs java.xml
Log:
Save the nerves of future generations of committers,
by failing the JavaTest if tests-classpath.value is not set
Also removed an unused path definition.
Revision Changes Path
1.10 +2 -4 ant/src/etc/testcases/taskdefs/java.xml
Index: java.xml
===================================================================
RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/java.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- java.xml 27 Aug 2003 14:23:16 -0000 1.9
+++ java.xml 27 Aug 2003 19:12:42 -0000 1.10
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<project name="java-test" basedir="." default="foo">
+ <fail unless="tests-classpath.value"
+ message="the property tests-classpath.value is required by this test"
/>
<!-- this property gets overridden programmatically-->
<property name="timeToWait" value="4"/>
<!-- this property gets overridden programmatically-->
@@ -13,10 +15,6 @@
<property name="spawnapp"
value="org.apache.tools.ant.taskdefs.JavaTest$$SpawnEntryPoint" />
-
- <path id="test.classpath">
- <pathelement location="${build.tests}"/>
- </path>
<target name="testNoJarNoClassname">
<java/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]