Browse Source

Permit building under JDK 1.5

PR: 28996
Obtained from: Jesse Glick


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276460 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
e32a24de07
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      build.xml

+ 5
- 2
build.xml View File

@@ -48,7 +48,8 @@
<property name="chmod.maxparallel" value="250"/> <property name="chmod.maxparallel" value="250"/>
<property name="deprecation" value="false"/> <property name="deprecation" value="false"/>
<property name="optimize" value="true"/> <property name="optimize" value="true"/>
<property name="javac.target" value="1.1"/>
<property name="javac.target" value="1.2"/>
<property name="javac.source" value="1.2"/>
<property name="junit.fork" value="false"/> <property name="junit.fork" value="false"/>
<property name="junit.filtertrace" value="off"/> <property name="junit.filtertrace" value="off"/>
<property name="junit.summary" value="no"/> <property name="junit.summary" value="no"/>
@@ -604,6 +605,7 @@
debug="${debug}" debug="${debug}"
deprecation="${deprecation}" deprecation="${deprecation}"
target="${javac.target}" target="${javac.target}"
source="${javac.source}"
optimize="${optimize}" > optimize="${optimize}" >
<classpath refid="classpath"/> <classpath refid="classpath"/>


@@ -1354,6 +1356,7 @@
destdir="${build.tests}" destdir="${build.tests}"
debug="${debug}" debug="${debug}"
target="${javac.target}" target="${javac.target}"
source="${javac.source}"
deprecation="${deprecation}" > deprecation="${deprecation}" >
<classpath refid="tests-classpath"/> <classpath refid="tests-classpath"/>


@@ -1610,4 +1613,4 @@
description="--> creates a minimum distribution in ./dist" description="--> creates a minimum distribution in ./dist"
depends="dist-lite"/> depends="dist-lite"/>


</project>
</project>

Loading…
Cancel
Save