Permalink
Browse files

don't include ant runtimes when compiling, which quells warnings in a…

…nt 1.8+
  • Loading branch information...
1 parent 2dac473 commit 00fccf635cc3b539be09d26b03544db08bdeecda @mebigfatguy mebigfatguy committed with afeinberg Dec 26, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 build.xml
View
@@ -79,7 +79,7 @@
<!-- place to put log4j.properties -->
<replace-dir dir="${resources.dir}"/>
<copy file="${java.dir}/log4j.properties" todir="${resources.dir}"/>
- <javac destdir="${classes.dir}" target="1.5" debug="true" deprecation="false" failonerror="true">
+ <javac destdir="${classes.dir}" target="1.5" debug="true" deprecation="false" failonerror="true" includeantruntime="false">
<src path="${java.dir}" />
<classpath refid="main-classpath" />
</javac>
@@ -99,7 +99,7 @@
<exclude name="**/*.html" />
</fileset>
</copy>
- <javac destdir="${testclasses.dir}" target="1.5" debug="true" deprecation="false" failonerror="true">
+ <javac destdir="${testclasses.dir}" target="1.5" debug="true" deprecation="false" failonerror="true" includeantruntime="false">
<src path="${unittestsrc.dir}" />
<src path="${inttestsrc.dir}" />
<src path="${commontestsrc.dir}" />
@@ -179,7 +179,7 @@
<target name="contrib-build" depends="build, buildtest" description="Compile contrib packages (java and test) ">
<replace-dir dir="${contrib.classes.dir}" />
- <javac destdir="${contrib.classes.dir}" target="1.5" debug="true" deprecation="false" failonerror="true">
+ <javac destdir="${contrib.classes.dir}" target="1.5" debug="true" deprecation="false" failonerror="true" includeantruntime="false">
<src path="${contrib.root.dir}" />
<src path="${contrib.root.dir}" />
<classpath refid="main-classpath" />

0 comments on commit 00fccf6

Please sign in to comment.