aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Glick <jesse.glick@oracle.com>2010-11-29 18:03:18 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-29 18:03:18 +0100
commita8e92af7b7bea0240825666520e74cc6550a4750 (patch)
tree2f194d6b117645f3f36a7df2cff54eada68b7f36
parent9523364898061cf4163c51f9f70befb19d1d64a6 (diff)
downloadlombok-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.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 177ac191..83fef2e9 100644
--- a/build.xml
+++ b/build.xml
@@ -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/**" />