diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-02 04:08:44 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-11-02 04:08:44 +0100 |
commit | b6cd2fbc9edbc10b8652777628e7da2b2df4f674 (patch) | |
tree | 0c11ab8672a1d68de712b40eb6540b12f9ed4c3e | |
parent | 083435ddf87d6fa46f8e9f49d76a7b7b58dad38b (diff) | |
download | lombok-b6cd2fbc9edbc10b8652777628e7da2b2df4f674.tar.gz lombok-b6cd2fbc9edbc10b8652777628e7da2b2df4f674.tar.bz2 lombok-b6cd2fbc9edbc10b8652777628e7da2b2df4f674.zip |
Added 'clean' to all the publish targets. Occassionally dirty build dirs cause mistakes, which isn't worth massively slowing down builds normally, but it is, when publishing.
Done on suggestion by Ray vanderborght via http://groups.google.com/group/project-lombok/browse_thread/thread/b0e48417fc4c0e9
-rw-r--r-- | build.xml | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -81,19 +81,19 @@ the common tasks and can be called on to run the main aspects of all the sub-scr </ant> </target> - <target name="maven-publish" depends="version" description="Build a maven repository then upload it to projectlombok.org"> + <target name="maven-publish" depends="clean, version" description="Build a maven repository then upload it to projectlombok.org"> <ant antfile="buildScripts/maven.ant.xml" target="maven-publish" inheritAll="false"> <property name="lombok.version" value="${lombok.version}" /> </ant> </target> - <target name="publish" depends="version" description="Publishes the latest build to googlecode"> + <target name="publish" depends="clean, version" description="Publishes the latest build to googlecode"> <ant antfile="buildScripts/publish.ant.xml" target="publish" inheritAll="false"> <property name="lombok.version" value="${lombok.version}" /> </ant> </target> - <target name="publish-all" depends="version, website-publish, maven-publish, publish" + <target name="publish-all" depends="clean, version, website-publish, maven-publish, publish" description="Publishes lombok itself, updates the maven repository, and the website" /> <target name="website" depends="version" description="Prepares the website for distribution"> @@ -102,7 +102,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr </ant> </target> - <target name="website-publish" depends="version" + <target name="website-publish" depends="clean, version" description="Prepares the website for distribution and then publishes it to projectlombok.org"> <ant antfile="buildScripts/website.ant.xml" target="website-publish" inheritAll="false"> <property name="lombok.version" value="${lombok.version}" /> |