diff options
author | Jesse Glick <jesse.glick@oracle.com> | 2010-11-29 18:03:18 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-11-29 18:03:18 +0100 |
commit | a8e92af7b7bea0240825666520e74cc6550a4750 (patch) | |
tree | 2f194d6b117645f3f36a7df2cff54eada68b7f36 | |
parent | 9523364898061cf4163c51f9f70befb19d1d64a6 (diff) | |
download | lombok-a8e92af7b7bea0240825666520e74cc6550a4750.tar.gz lombok-a8e92af7b7bea0240825666520e74cc6550a4750.tar.bz2 lombok-a8e92af7b7bea0240825666520e74cc6550a4750.zip |
Use includeantruntime="false" for safety and to avoid warnings under Ant 1.8.0+.
-rw-r--r-- | build.xml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -117,7 +117,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr <target name="version" depends="ensure-ipp" description="Shows the version number." unless="lombok.version"> <mkdir dir="build/lombok" /> - <javac includeDestClasses="false" srcdir="src/core" debug="on" destdir="build/lombok" source="1.5" target="1.5" includes="lombok/core/Version.java" /> + <javac includeDestClasses="false" srcdir="src/core" debug="on" destdir="build/lombok" source="1.5" target="1.5" includes="lombok/core/Version.java" includeantruntime="false" /> <java classname="lombok.core.Version" classpath="build/lombok" @@ -139,14 +139,14 @@ the common tasks and can be called on to run the main aspects of all the sub-scr anymore until you 'ant clean'. That's very much not desired, so we kill the processor, which stops lombok from running. We re-create the file at the end of this target. --> <delete file="build/lombok/META-INF/services/javax.annotation.processing.Processor" quiet="true" /> - <ivy:compile destdir="build/lombok" source="1.5" target="1.5"> + <ivy:compile destdir="build/lombok" source="1.5" target="1.5" includeantruntime="false"> <src path="src/core" /> <src path="src/installer" /> <src path="src/eclipseAgent" /> <exclude name="lombok/javac/**" /> <classpath refid="build.path" /> </ivy:compile> - <ivy:compile destdir="build/lombok" source="1.6" target="1.6"> + <ivy:compile destdir="build/lombok" source="1.6" target="1.6" includeantruntime="false"> <src path="src/core" /> <src path="src/delombok" /> <include name="lombok/javac/**" /> |