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
This commit is contained in:
parent
9d56b17ace
commit
6411c93217
24
build.xml
24
build.xml
@ -409,7 +409,8 @@ under the License.
|
|||||||
srcdir="${main.src}"
|
srcdir="${main.src}"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
fork="yes">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath refid="main.classpath"/>
|
<classpath refid="main.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<javac target="${jdk.version.class}"
|
<javac target="${jdk.version.class}"
|
||||||
@ -418,7 +419,8 @@ under the License.
|
|||||||
srcdir="${main.src.test}"
|
srcdir="${main.src.test}"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
fork="yes">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath>
|
<classpath>
|
||||||
<path refid="main.classpath"/>
|
<path refid="main.classpath"/>
|
||||||
<pathelement path="${main.output.dir}"/>
|
<pathelement path="${main.output.dir}"/>
|
||||||
@ -436,7 +438,8 @@ under the License.
|
|||||||
srcdir="${scratchpad.src}"
|
srcdir="${scratchpad.src}"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
fork="yes">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath refid="scratchpad.classpath"/>
|
<classpath refid="scratchpad.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<javac target="${jdk.version.class}"
|
<javac target="${jdk.version.class}"
|
||||||
@ -445,7 +448,8 @@ under the License.
|
|||||||
srcdir="${scratchpad.src.test}"
|
srcdir="${scratchpad.src.test}"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
fork="yes">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath>
|
<classpath>
|
||||||
<path refid="scratchpad.classpath"/>
|
<path refid="scratchpad.classpath"/>
|
||||||
<pathelement location="${scratchpad.output.dir}"/>
|
<pathelement location="${scratchpad.output.dir}"/>
|
||||||
@ -464,7 +468,8 @@ under the License.
|
|||||||
srcdir="${examples.src}"
|
srcdir="${examples.src}"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
fork="yes">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath>
|
<classpath>
|
||||||
<path refid="ooxml.classpath"/>
|
<path refid="ooxml.classpath"/>
|
||||||
<pathelement path="${ooxml.output.dir}"/>
|
<pathelement path="${ooxml.output.dir}"/>
|
||||||
@ -482,8 +487,10 @@ under the License.
|
|||||||
source="${jdk.version.source}"
|
source="${jdk.version.source}"
|
||||||
destdir="${ooxml.output.dir}"
|
destdir="${ooxml.output.dir}"
|
||||||
srcdir="${ooxml.src}"
|
srcdir="${ooxml.src}"
|
||||||
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
debug="${compile.debug}">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath refid="ooxml.classpath"/>
|
<classpath refid="ooxml.classpath"/>
|
||||||
</javac>
|
</javac>
|
||||||
<javac target="${jdk.version.class}"
|
<javac target="${jdk.version.class}"
|
||||||
@ -492,7 +499,8 @@ under the License.
|
|||||||
srcdir="${ooxml.src.test}"
|
srcdir="${ooxml.src.test}"
|
||||||
debug="${compile.debug}"
|
debug="${compile.debug}"
|
||||||
encoding="${java.source.encoding}"
|
encoding="${java.source.encoding}"
|
||||||
fork="yes">
|
fork="yes"
|
||||||
|
includeantruntime="false">
|
||||||
<classpath>
|
<classpath>
|
||||||
<path refid="ooxml.classpath"/>
|
<path refid="ooxml.classpath"/>
|
||||||
<pathelement path="${ooxml.output.dir}"/>
|
<pathelement path="${ooxml.output.dir}"/>
|
||||||
@ -519,7 +527,7 @@ under the License.
|
|||||||
<javac target="${jdk.version.class}" source="${jdk.version.source}"
|
<javac target="${jdk.version.class}" source="${jdk.version.source}"
|
||||||
failonerror="true" destdir="${main.output.dir}" debug="on" fork="yes"
|
failonerror="true" destdir="${main.output.dir}" debug="on" fork="yes"
|
||||||
srcdir="${main.output.dir}"
|
srcdir="${main.output.dir}"
|
||||||
encoding="${java.source.encoding}">
|
encoding="${java.source.encoding}" includeantruntime="false">
|
||||||
</javac>
|
</javac>
|
||||||
<!-- Tidy up -->
|
<!-- Tidy up -->
|
||||||
<delete file="${version.java}"/>
|
<delete file="${version.java}"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user