summaryrefslogtreecommitdiff
path: root/Tools/Java/Source/FrameworkTasks
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-10 23:01:42 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-10 23:01:42 +0000
commit439656f15250c9fd2e1c778649df1d517143e80e (patch)
treedc1f8d09e517c2e9a45c10b29166de67ab1a1f3e /Tools/Java/Source/FrameworkTasks
parent8973d1764ff732c1ddb8bfecf0f953b927fb66f1 (diff)
downloadedk2-platforms-439656f15250c9fd2e1c778649df1d517143e80e.tar.xz
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
Diffstat (limited to 'Tools/Java/Source/FrameworkTasks')
-rw-r--r--Tools/Java/Source/FrameworkTasks/build.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/Java/Source/FrameworkTasks/build.xml b/Tools/Java/Source/FrameworkTasks/build.xml
index ac3639cb0c..ad5d3f0ff9 100644
--- a/Tools/Java/Source/FrameworkTasks/build.xml
+++ b/Tools/Java/Source/FrameworkTasks/build.xml
@@ -28,10 +28,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/FrameworkTasks" includes="${buildDir}"/>
+ </delete>
</target>
- <target name="cleanall">
- <delete dir="${buildDir}"/>
+ <target name="cleanall" depends="clean">
<delete file="${installLocation}/frameworktasks.jar"/>
<if>
<available file="${installLocation}/frameworktasks.jar"/>