expose ${javac.debug}, ${javac.deprecation} and ${javac.optimize} properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@130906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5cec4b2b96
commit
f6c5790d9f
19
build.xml
19
build.xml
|
@ -1,4 +1,4 @@
|
||||||
<!-- $Id: build.xml,v 1.33 2002/10/21 00:33:59 bayard Exp $ -->
|
<!-- $Id: build.xml,v 1.34 2003/01/06 12:54:05 rwaldhoff Exp $ -->
|
||||||
<project name="commons-collections" default="test" basedir=".">
|
<project name="commons-collections" default="test" basedir=".">
|
||||||
|
|
||||||
<!-- patternset describing files to be copied from the doc directory -->
|
<!-- patternset describing files to be copied from the doc directory -->
|
||||||
|
@ -80,6 +80,11 @@
|
||||||
<property name="dest.src.tar.gz" value="${dest}/${src.name}.tar.gz"/>
|
<property name="dest.src.tar.gz" value="${dest}/${src.name}.tar.gz"/>
|
||||||
<property name="dest.src.zip" value="${dest}/${src.name}.zip"/>
|
<property name="dest.src.zip" value="${dest}/${src.name}.zip"/>
|
||||||
|
|
||||||
|
|
||||||
|
<property name="javac.debug" value="true"/>
|
||||||
|
<property name="javac.deprecation" value="true"/>
|
||||||
|
<property name="javac.optimize" value="true"/>
|
||||||
|
|
||||||
<patternset id="patternset-exclude-distros">
|
<patternset id="patternset-exclude-distros">
|
||||||
<exclude name="**/${bin.name}.tar.gz"/>
|
<exclude name="**/${bin.name}.tar.gz"/>
|
||||||
<exclude name="**/${bin.name}.zip"/>
|
<exclude name="**/${bin.name}.zip"/>
|
||||||
|
@ -201,9 +206,9 @@
|
||||||
<javac destdir="${dest.classes}"
|
<javac destdir="${dest.classes}"
|
||||||
srcdir="${source.src.java}"
|
srcdir="${source.src.java}"
|
||||||
classpath="${classpath}"
|
classpath="${classpath}"
|
||||||
debug="false"
|
debug="${javac.debug}"
|
||||||
deprecation="true"
|
deprecation="${javac.deprecation}"
|
||||||
optimize="true"/>
|
optimize="${javac.optimize}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build-test" depends="init,build-java" if="available-src-test">
|
<target name="build-test" depends="init,build-java" if="available-src-test">
|
||||||
|
@ -211,9 +216,9 @@
|
||||||
<javac destdir="${dest.classes}"
|
<javac destdir="${dest.classes}"
|
||||||
srcdir="${source.src.test}"
|
srcdir="${source.src.test}"
|
||||||
classpath="${classpath}"
|
classpath="${classpath}"
|
||||||
debug="false"
|
debug="${javac.debug}"
|
||||||
deprecation="true"
|
deprecation="${javac.deprecation}"
|
||||||
optimize="true"/>
|
optimize="${javac.optimize}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- ######################################################### -->
|
<!-- ######################################################### -->
|
||||||
|
|
Loading…
Reference in New Issue