From 439656f15250c9fd2e1c778649df1d517143e80e Mon Sep 17 00:00:00 2001
From: lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>
Date: Tue, 10 Oct 2006 23:01:42 +0000
Subject: Fixed the build.xml files so that clean and cleanall actually removes
 the temporary build directories, rather than leaving all of the intermediate
 files left lying around.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1715 6f19259b-4bc3-4df7-8a09-765794883524
---
 Tools/Java/Source/GenBuild/build.xml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

(limited to 'Tools/Java/Source/GenBuild')

diff --git a/Tools/Java/Source/GenBuild/build.xml b/Tools/Java/Source/GenBuild/build.xml
index b61e2519c3..d33cbebde0 100644
--- a/Tools/Java/Source/GenBuild/build.xml
+++ b/Tools/Java/Source/GenBuild/build.xml
@@ -31,10 +31,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </javac>
   </target>
   <target name="clean">
-    <delete dir="${buildDir}"/>
+    <delete includeemptydirs="true" failonerror="false" quiet="true">
+      <fileset dir="${WORKSPACE}/Tools/Java/Source/GenBuild" includes="${buildDir}"/>
+    </delete>
   </target>
-  <target name="cleanall">
-    <delete dir="${buildDir}"/>
+  <target name="cleanall" depends="clean">
     <delete file="${installLocation}/GenBuild.jar"/>
     <if>
       <available file="${installLocation}/GenBuild.jar"/>
-- 
cgit v1.2.3