(LANG-711) [patch] add includeantruntime=false to javac targets to quell warnings in ant 1.8.1 and better (and modest performance gain). Apply patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1142198 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8de2366fc1
commit
d42188e89b
|
@ -60,7 +60,7 @@
|
||||||
<!-- ========== Compile Targets ========================================= -->
|
<!-- ========== Compile Targets ========================================= -->
|
||||||
<target name="compile" depends="init" description="Compile shareable components">
|
<target name="compile" depends="init" description="Compile shareable components">
|
||||||
<mkdir dir="${build.home}/classes"/>
|
<mkdir dir="${build.home}/classes"/>
|
||||||
<javac srcdir="${source.home}" destdir="${build.home}/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" target="${compile.target}" source="${compile.source}" excludes="${compile.excludes}" optimize="${compile.optimize}">
|
<javac srcdir="${source.home}" destdir="${build.home}/classes" debug="${compile.debug}" deprecation="${compile.deprecation}" target="${compile.target}" source="${compile.source}" excludes="${compile.excludes}" optimize="${compile.optimize}" includeantruntime="false">
|
||||||
<classpath refid="compile.classpath"/>
|
<classpath refid="compile.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<copy todir="${build.home}/classes" filtering="on">
|
<copy todir="${build.home}/classes" filtering="on">
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
<target name="compile.tests" depends="compile" description="Compile unit test cases">
|
<target name="compile.tests" depends="compile" description="Compile unit test cases">
|
||||||
<mkdir dir="${build.home}/tests"/>
|
<mkdir dir="${build.home}/tests"/>
|
||||||
<javac srcdir="${test.home}" destdir="${build.home}/tests" debug="${compile.debug}" deprecation="off" target="${compile.target}" source="${compile.source}" optimize="${compile.optimize}">
|
<javac srcdir="${test.home}" destdir="${build.home}/tests" debug="${compile.debug}" deprecation="off" target="${compile.target}" source="${compile.source}" optimize="${compile.optimize}" includeantruntime="false">
|
||||||
<classpath refid="test.classpath"/>
|
<classpath refid="test.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<copy todir="${build.home}/tests" filtering="on">
|
<copy todir="${build.home}/tests" filtering="on">
|
||||||
|
|
Loading…
Reference in New Issue