]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/Cpptasks/build.xml
Fixed the build.xml files so that clean and cleanall actually removes the temporary...
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / build.xml
index 15eb959820caedcd69bcacadcf569840528c3dd7..971e7e774cf804ca9ab343d5f5e226cea09e5677 100644 (file)
@@ -32,10 +32,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     </javac>\r
   </target>\r
   <target name="clean">\r
-    <delete dir="${buildDir}"/>\r
+    <delete includeemptydirs="true" failonerror="false">\r
+      <fileset dir="${WORKSPACE}/Tools/Java/Source/Cpptasks" includes="${buildDir}"/>\r
+    </delete>\r
   </target>\r
-  <target name="cleanall">\r
-    <delete dir="${buildDir}"/>\r
+  <target name="cleanall" depends="clean">\r
     <delete file="${installLocation}/cpptasks.jar"/>\r
     <if>\r
       <available file="${installLocation}/cpptasks.jar"/>\r