aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 5bf1b0a0..802c0335 100644
--- a/build.xml
+++ b/build.xml
@@ -173,6 +173,23 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<fileset dir="build/lombok-utils" />
</copy>
+ <mkdir dir="build/transformedSources" />
+ <copy todir="build/transformedSources">
+ <fileset dir="src/eclipseAgent">
+ <include name="**/*Transplants.java" />
+ </fileset>
+ <filterchain>
+ <lineContainsRegExp negate="true">
+ <regexp pattern="^\s*@SuppressWarnings.*$" />
+ </lineContainsRegExp>
+ </filterchain>
+ </copy>
+
+ <ivy:compile destdir="build/lombok" source="1.4" target="1.4" includeantruntime="false">
+ <compilerarg value="-Xbootclasspath/p:build/stubs${path.separator}lib/openJDK6Environment/rt-openjdk6.jar" />
+ <src path="build/transformedSources" />
+ </ivy:compile>
+
<ivy:compile destdir="build/lombok" source="1.5" target="1.5" includeantruntime="false">
<compilerarg value="-Xbootclasspath/p:build/stubs${path.separator}lib/openJDK6Environment/rt-openjdk6.jar" />
<src path="src/launch" />
@@ -180,6 +197,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<src path="src/installer" />
<src path="src/eclipseAgent" />
<exclude name="lombok/javac/**" />
+ <exclude name="**/*Transplants.java" />
<classpath location="build/lombok" />
<classpath refid="build.path" />
</ivy:compile>