Browse Source

Build failure on JDK 1.4.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@953801 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 15 years ago
parent
commit
d15c92db59
1 changed files with 10 additions and 3 deletions
  1. +10
    -3
      build.xml

+ 10
- 3
build.xml View File

@@ -349,9 +349,16 @@
<available property="recent.xalan2.present"
classname="org.apache.xalan.trace.TraceListenerEx3"
classpathref="classpath" ignoresystemclasses="true"/>
<available property="junit.present"
classname="org.junit.Test"
classpathref="classpath" ignoresystemclasses="true"/>
<condition property="junit.present">
<and>
<!-- Need JDK 5+ to compile since junit-4*.jar uses new bytecode format -->
<!-- (could also try to compile all but JUnit4TestMethodAdapter but you would need to add junit-3*.jar to CP yourself) -->
<available classname="java.net.Proxy"/>
<available
classname="org.junit.Test"
classpathref="classpath" ignoresystemclasses="true"/>
</and>
</condition>
<available property="antunit.present"
classname="org.apache.ant.antunit.AntUnit"
classpathref="classpath" ignoresystemclasses="true"/>


Loading…
Cancel
Save