Browse Source

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.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275150 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
6585a8aa20
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/etc/testcases/taskdefs/java.xml

+ 2
- 4
src/etc/testcases/taskdefs/java.xml View File

@@ -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-->
@@ -14,10 +16,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/>
</target>


Loading…
Cancel
Save