Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…nt 1.8+
  • Loading branch information...
commit 00fccf635cc3b539be09d26b03544db08bdeecda 1 parent 2dac473
@mebigfatguy mebigfatguy authored afeinberg committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 build.xml
View
6 build.xml
@@ -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" />
Please sign in to comment.
Something went wrong with that request. Please try again.