Changeset 6849


Ignore:
Timestamp:
08/26/10 14:43:22 (9 years ago)
Author:
curtis
Message:

Fix build warnings when using Ant 1.8+.

Location:
trunk/ant
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ant/java.xml

    r6686 r6849  
    2121 
    2222  <target name="compile" depends="copy-source" description="compile classes"> 
    23     <javac debug="true" deprecation="${component.deprecation}" 
     23    <javac debug="true" includeantruntime="false" 
     24      deprecation="${component.deprecation}" 
    2425      source="${component.java-version}" 
    2526      target="${component.java-version}" 
     
    3334  <target name="compile-tests" depends="compile, copy-test-source" 
    3435    description="compile test classes" if="doTests"> 
    35     <javac debug="true" deprecation="${component.deprecation}" 
     36    <javac debug="true" includeantruntime="false" 
     37      deprecation="${component.deprecation}" 
    3638      source="${component.java-version}" 
    3739      target="${component.java-version}" 
     
    150152      <fileset dir="${utils.dir}" includes="*.class"/> 
    151153    </delete> 
    152     <javac debug="true" deprecation="true" source="1.5" target="1.5" 
     154    <javac debug="true" includeantruntime="false" 
     155      deprecation="true" source="1.5" target="1.5" 
    153156      srcdir="${utils.dir}" includes="*.java" 
    154157      classpath="${artifact.dir}/${component.jar}"> 
  • trunk/ant/toplevel.xml

    r6686 r6849  
    151151      <fileset dir="${toplevel-utils.dir}" includes="*.class"/> 
    152152    </delete> 
    153     <javac debug="true" deprecation="true" source="1.5" target="1.5" 
     153    <javac debug="true" includeantruntime="false" 
     154      deprecation="true" source="1.5" target="1.5" 
    154155      srcdir="${toplevel-utils.dir}" includes="*.java"> 
    155156      <classpath> 
Note: See TracChangeset for help on using the changeset viewer.