improve rebuild without re-checkout
diff --git a/releng.wtpbuilder/build.xml b/releng.wtpbuilder/build.xml index 4fc53b4..58c374d 100644 --- a/releng.wtpbuilder/build.xml +++ b/releng.wtpbuilder/build.xml
@@ -7,7 +7,7 @@ <!-- main --> <target name="build" - depends="cleanCompile, removeBaseBuidler, init, preBuild" + depends="removeBaseBuidler, init, preBuild" if="build_distro_target_exists"> <echo message="have initialized and started main wtpBuilder build.xml" /> @@ -27,20 +27,6 @@ <ant antfile="${buildfile}"/> </target> - <!-- TODO: probably not the best place or bullet proof logic since in theory could be non pde build.xml files in path--> - <!-- this may sound backwards, but "doClean=true" means we are - doing a completely new/fresh/clean build, so everything has already - been removed at this point (and this task would fail). If we are - not doing one of those completely new builds, then we at least want - to clean the jars and class files, to get a new compile. --> - <target name="cleanCompile" - depends="init" - unless="doClean"> - <echo message="cleanCompile (only): removing previous builds compile artifacts" /> - <exec executable="/usr/bin/find"> - <arg value="${builddirectory} -name build.xml -exec ant -f '{}' clean \;"/> - </exec> - </target> <!-- TODO: probably not the best logical place to make this decision? --> <target name="removeBaseBuidler"
diff --git a/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml b/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml index e6567c2..b527501 100644 --- a/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml +++ b/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml
@@ -214,7 +214,7 @@ not doing one of those completely new builds, then we at least want to clean the jars and class files, to get a new compile. --> <target name="clean" unless="doClean" depends="init" > - <echo message="doing clean of all elements. doClean: ${doClean}" /> + <echo message="doing clean compile of existing elements. doClean: ${doClean}" /> <antcall target="allElements"> <param name="target" value="cleanElement" /> </antcall>