diff options
author | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-10 23:01:42 +0000 |
---|---|---|
committer | lhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-10-10 23:01:42 +0000 |
commit | 439656f15250c9fd2e1c778649df1d517143e80e (patch) | |
tree | dc1f8d09e517c2e9a45c10b29166de67ab1a1f3e /Tools/Java/Source/Cpptasks | |
parent | 8973d1764ff732c1ddb8bfecf0f953b927fb66f1 (diff) | |
download | edk2-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/Cpptasks')
-rw-r--r-- | Tools/Java/Source/Cpptasks/build.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/Java/Source/Cpptasks/build.xml b/Tools/Java/Source/Cpptasks/build.xml index 15eb959820..971e7e774c 100644 --- a/Tools/Java/Source/Cpptasks/build.xml +++ b/Tools/Java/Source/Cpptasks/build.xml @@ -32,10 +32,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">
+ <fileset dir="${WORKSPACE}/Tools/Java/Source/Cpptasks" includes="${buildDir}"/>
+ </delete>
</target>
- <target name="cleanall">
- <delete dir="${buildDir}"/>
+ <target name="cleanall" depends="clean">
<delete file="${installLocation}/cpptasks.jar"/>
<if>
<available file="${installLocation}/cpptasks.jar"/>
|