From e42e9520882e81a9d976fda7a48c45fda0ab7c2d Mon Sep 17 00:00:00 2001
From: pombredanne <pombredanne>
Date: Wed, 7 Feb 2007 23:12:54 +0000
Subject: [PATCH] Excluded the download cache dir from the clean

---
 build/build.xml |   32 ++++++++++++++++++++++++--------
 1 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/build/build.xml b/build/build.xml
index 20bef5c..5a2d3a3 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -5,10 +5,12 @@
 
 	<property name="builder" location="${basedir}" />
 	<property name="buildDirectory" location="${builder}/build" />
-  <property name="base" location="${buildDirectory}/base" />
-  <property name="baseLocation" location="${base}/eclipse" />
-	<property name="tempDirectory" location="${buildDirectory}/temp" />
-	<property name="base.eclipse.install" value="d:/ee-pw-1.2.0/" />
+	<property name="base" location="${buildDirectory}/base" />
+	<property name="baseLocation" location="${base}/eclipse" />
+
+  <property name="tempDirectory" location="${buildDirectory}/temp" />
+	
+  <property name="base.eclipse.install" value="d:/ee-pw-1.2.0/" />
 	<property name="pdebuild.version" value="3.2.0.v20060603" />
 	<property name="pdebuild.build.xml" value="${base.eclipse.install}/plugins/org.eclipse.pde.build_${pdebuild.version}/scripts/build.xml" />
 
@@ -19,12 +21,26 @@
 	</target>
 
 	<target name="clean" description="clean the build directory, except for the downloaded zips">
-		<delete includeemptydirs="true"  deleteonexit="true">
-			<fileset dir="${buildDirectory}" >
-				<include name="*/**" />
-				<exclude name="downloads/**" />
+		<delete includeemptydirs="true" deleteonexit="true" >   
+			<fileset dir="${buildDirectory}" defaultexcludes="false" excludes="downloads" includes="**/*">
 			</fileset>
 		</delete>
 	</target>
 
+	<!--
+      <java description="runs a standalone update command"
+            dir="@{distro.path}"
+            fork="true"
+            timeout="120000"
+            classname="org.eclipse.core.launcher.Main"
+            output="@{log.folder}/check-installed-features-@{id}@{suffix}.txt"
+            errorproperty="distro.conf.error"
+            outputproperty="distro.conf.details">
+        <classpath>
+          <pathelement location="@{distro.path}/startup.jar" />
+        </classpath>
+        <arg line="-application org.eclipse.update.core.standaloneUpdate -command listFeatures" />
+      </java>
+ 
+ -->
 </project>
-- 
1.7.1