diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-06 23:07:13 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2017-11-06 23:07:13 +0100 |
commit | 7fad34b0a6fbda12f07c62a571cbe870b550be97 (patch) | |
tree | 1d8e88cded8724444905ee2d73aad29f75c9055e | |
parent | 34e1c295d2fd2a29314ea5826dae097b806cef41 (diff) | |
download | lombok-7fad34b0a6fbda12f07c62a571cbe870b550be97.tar.gz lombok-7fad34b0a6fbda12f07c62a571cbe870b550be97.tar.bz2 lombok-7fad34b0a6fbda12f07c62a571cbe870b550be97.zip |
Fixing running of annotation processors (broken with introduction of compiling with ecj)
-rw-r--r-- | build.xml | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -235,6 +235,24 @@ the common tasks and can be called on to run the main aspects of all the sub-scr <classpath location="build/lombok" /> <classpath refid="build.path" /> </ivy:compile> + <delete dir="build/lombok-proc-result" quiet="true" /> + <ivy:compile destdir="build/lombok-proc-result" source="1.6" target="1.6" nowarn="true"> + <compilerarg value="-Xbootclasspath/p:build/stubs" /> + <compilerarg value="-proc:only" /> + <compilerarg value="-processor" /> + <compilerarg value="org.mangosdk.spi.processor.SpiProcessor" /> + <src path="src/launch" /> + <src path="src/core" /> + <src path="src/installer" /> + <src path="src/eclipseAgent" /> + <classpath location="build/lombok" /> + <classpath refid="build.path" /> + </ivy:compile> + <copy todir="build/lombok"> + <fileset dir="build/lombok-proc-result"> + <include name="META-INF/services/*" /> + </fileset> + </copy> <mkdir dir="build/lombok/META-INF" /> <mkdir dir="build/lombok/META-INF/services" /> <echo file="build/lombok/META-INF/services/javax.annotation.processing.Processor">lombok.launch.AnnotationProcessorHider$AnnotationProcessor |