Excluded the download cache dir from the clean
authorpombredanne <pombredanne>
Wed, 7 Feb 2007 23:12:54 +0000 (23:12 +0000)
committerpombredanne <pombredanne>
Wed, 7 Feb 2007 23:12:54 +0000 (23:12 +0000)
build/build.xml

index 20bef5c..5a2d3a3 100644 (file)
@@ -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" />
 
        </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>