diff options
author | Roel Spilker <r.spilker@gmail.com> | 2010-07-20 00:44:36 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2010-07-20 00:44:36 +0200 |
commit | 9b886c140cf3cbc22c8db0ec8e37b95b45d7b4d9 (patch) | |
tree | 6c4df2b4c7fe490acc6b37c9890628db4c071305 | |
parent | 01ff2a8b79958eea19c3ce2bd336c0b8d9177ab2 (diff) | |
download | lombok-9b886c140cf3cbc22c8db0ec8e37b95b45d7b4d9.tar.gz lombok-9b886c140cf3cbc22c8db0ec8e37b95b45d7b4d9.tar.bz2 lombok-9b886c140cf3cbc22c8db0ec8e37b95b45d7b4d9.zip |
Changed the order of unpacking libs to be before compiling in the build script, this way having old versions of e.g. lombok.patcher around dont mysteriously break your build until you ant clean.
-rw-r--r-- | build.xml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -113,7 +113,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr </unjar> </target> - <target name="compile" depends="version, ensureBuildDeps" description="Compiles the code."> + <target name="compile" depends="version, ensureBuildDeps, -unpackLibs" description="Compiles the code."> <!-- ant includes the destination dir on the classpath (and there are good reason to do this), but that also means the bleeding edge lombok from the previous build is run, which means if there are bugs in it, you can't compile anymore until you 'ant clean'. That's very much not desired, so we kill the processor, which stops lombok from running. @@ -141,7 +141,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr <echo file="build/lombok/META-INF/services/javax.annotation.processing.Processor">lombok.core.AnnotationProcessor</echo> </target> - <target name="dist" description="Builds THE lombok.jar file which contains everything." depends="version, compile, -unpackLibs"> + <target name="dist" description="Builds THE lombok.jar file which contains everything." depends="version, compile"> <mkdir dir="dist" /> <copy file="doc/changelog.markdown" tofile="build/changelog.txt" /> <jar destfile="dist/lombok-${lombok.version}.jar"> |