Author: nickboldt
Date: 2010-04-29 10:30:46 -0400 (Thu, 29 Apr 2010)
New Revision: 21793
Modified:
branches/modular_build/build/build.xml
Log:
add -Dclean.sources option
Modified: branches/modular_build/build/build.xml
===================================================================
--- branches/modular_build/build/build.xml 2010-04-29 12:40:32 UTC (rev 21792)
+++ branches/modular_build/build/build.xml 2010-04-29 14:30:46 UTC (rev 21793)
@@ -152,6 +152,7 @@
</target>
<target name="get.sources" description="if sources not already on
disk, fetch them">
+ <property name="clean.sources" value="false" />
<property name="svn.recurse" value="true" />
<!-- = = = = = = = = = = = = = = = = =
@@ -203,6 +204,12 @@
">
<sequential>
<if>
+ <equals arg1="${clean.sources}" arg2="true" />
+ <then>
+ <delete dir="${WORKINGDIR}/@{COMPONENT}"
includeemptydirs="true" quiet="true" />
+ </then>
+ </if>
+ <if>
<not>
<available file="${WORKINGDIR}/@{COMPONENT}" type="dir"
/>
</not>
Show replies by date