aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-11-27 12:10:10 +0100
committerReinier Zwitserloot <reinier@tipit.to>2009-11-27 12:10:10 +0100
commit44d6a6b6627c23ac66920ae6dc1d709f26de7e3f (patch)
tree323796cc7d70aa4f65f26e5b8e512330636ba6e5 /build.xml
parent5ab3615b3d1bf14480c0626883c90145f6a72c63 (diff)
downloadlombok-44d6a6b6627c23ac66920ae6dc1d709f26de7e3f.tar.gz
lombok-44d6a6b6627c23ac66920ae6dc1d709f26de7e3f.tar.bz2
lombok-44d6a6b6627c23ac66920ae6dc1d709f26de7e3f.zip
Solved the problem in the two-phase compile (some of lombok is JVM1.5, other bits are JVM1.6) being interdependent and causing implicit compilation warnings.
Also added source="1.x" to all ant file javac targets, as apparently this needs to be there when compiling with JDK7.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index a2571d54..5fead285 100644
--- a/build.xml
+++ b/build.xml
@@ -31,7 +31,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<target name="version" description="Shows the version number" unless="lombok.version">
<mkdir dir="build/lombok" />
- <javac includeDestClasses="false" srcdir="src/core" debug="on" destdir="build/lombok" 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" />
<java
classname="lombok.core.Version"
classpath="build/lombok"