summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2010-11-25 10:28:02 +0000
committerYegor Kozlov <yegor@apache.org>2010-11-25 10:28:02 +0000
commite7cce67245b3ff2f2ef747af3e4c931f9c2e678a (patch)
treed5da974b88edcd3152e8bc21e89322ac60be698a /build.xml
parentfcdcfb155b8b9170d5bfd35870d3abf3c8d9458e (diff)
downloadpoi-e7cce67245b3ff2f2ef747af3e4c931f9c2e678a.tar.gz
poi-e7cce67245b3ff2f2ef747af3e4c931f9c2e678a.zip
tweaked javac targets and set includeantruntime=false to avoid warnings by Ant 1.8.1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038992 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml24
1 files changed, 16 insertions, 8 deletions
diff --git a/build.xml b/build.xml
index b2025e35b8..1f7e757eaa 100644
--- a/build.xml
+++ b/build.xml
@@ -409,7 +409,8 @@ under the License.
srcdir="${main.src}"
debug="${compile.debug}"
encoding="${java.source.encoding}"
- fork="yes">
+ fork="yes"
+ includeantruntime="false">
<classpath refid="main.classpath"/>
</javac>
<javac target="${jdk.version.class}"
@@ -418,7 +419,8 @@ under the License.
srcdir="${main.src.test}"
debug="${compile.debug}"
encoding="${java.source.encoding}"
- fork="yes">
+ fork="yes"
+ includeantruntime="false">
<classpath>
<path refid="main.classpath"/>
<pathelement path="${main.output.dir}"/>
@@ -436,7 +438,8 @@ under the License.
srcdir="${scratchpad.src}"
debug="${compile.debug}"
encoding="${java.source.encoding}"
- fork="yes">
+ fork="yes"
+ includeantruntime="false">
<classpath refid="scratchpad.classpath"/>
</javac>
<javac target="${jdk.version.class}"
@@ -445,7 +448,8 @@ under the License.
srcdir="${scratchpad.src.test}"
debug="${compile.debug}"
encoding="${java.source.encoding}"
- fork="yes">
+ fork="yes"
+ includeantruntime="false">
<classpath>
<path refid="scratchpad.classpath"/>
<pathelement location="${scratchpad.output.dir}"/>
@@ -464,7 +468,8 @@ under the License.
srcdir="${examples.src}"
debug="${compile.debug}"
encoding="${java.source.encoding}"
- fork="yes">
+ fork="yes"
+ includeantruntime="false">
<classpath>
<path refid="ooxml.classpath"/>
<pathelement path="${ooxml.output.dir}"/>
@@ -482,8 +487,10 @@ under the License.
source="${jdk.version.source}"
destdir="${ooxml.output.dir}"
srcdir="${ooxml.src}"
+ debug="${compile.debug}"
encoding="${java.source.encoding}"
- debug="${compile.debug}">
+ fork="yes"
+ includeantruntime="false">
<classpath refid="ooxml.classpath"/>
</javac>
<javac target="${jdk.version.class}"
@@ -492,7 +499,8 @@ under the License.
srcdir="${ooxml.src.test}"
debug="${compile.debug}"
encoding="${java.source.encoding}"
- fork="yes">
+ fork="yes"
+ includeantruntime="false">
<classpath>
<path refid="ooxml.classpath"/>
<pathelement path="${ooxml.output.dir}"/>
@@ -519,7 +527,7 @@ under the License.
<javac target="${jdk.version.class}" source="${jdk.version.source}"
failonerror="true" destdir="${main.output.dir}" debug="on" fork="yes"
srcdir="${main.output.dir}"
- encoding="${java.source.encoding}">
+ encoding="${java.source.encoding}" includeantruntime="false">
</javac>
<!-- Tidy up -->
<delete file="${version.java}"/>