Improving the messages displayed when deleting directories
diff --git a/common/common.xml b/common/common.xml
index 4369175..f862f51 100644
--- a/common/common.xml
+++ b/common/common.xml
@@ -28,8 +28,7 @@
<!-- Main targets -->
<target name="clean" description="Removes the target directory.">
- <delete quiet="true" dir="${target.dir}"/>
- <echo message="Deleted directory: ${target.dir}"/>
+ <delete quiet="false" failonerror="false" dir="${target.dir}"/>
</target>
<target name="clean-integration" description="Removes the integration repository directory.">
@@ -47,8 +46,7 @@
</not>
</condition>
</fail>
- <delete quiet="true" dir="${integration.repo.dir}/${project.organisation}"/>
- <echo message="Deleted directory: ${integration.repo.dir}/${project.organisation}"/>
+ <delete quiet="false" failonerror="false" dir="${integration.repo.dir}/${project.organisation}"/>
</target>
<target name="clean-all-integration" description="Removes the integration repository directory.">
@@ -59,8 +57,7 @@
</not>
</condition>
</fail>
- <delete quiet="true" dir="${integration.repo.dir}"/>
- <echo message="Deleted directory: ${integration.repo.dir}"/>
+ <delete quiet="false" failonerror="false" dir="${integration.repo.dir}"/>
</target>
<target name="clean-ivy" description="Removes the ivy cache directory.">
@@ -71,8 +68,7 @@
</not>
</condition>
</fail>
- <delete quiet="true" dir="${ivy.cache.dir}"/>
- <echo message="Deleted directory: ${ivy.cache.dir}"/>
+ <delete quiet="false" failonerror="false" dir="${ivy.cache.dir}"/>
</target>
<target name="resolve" depends="resolve.init" description="Retrieves all external dependencies for this project.">
diff --git a/multi-bundle/common.xml b/multi-bundle/common.xml
index 1c06a4a..865497b 100644
--- a/multi-bundle/common.xml
+++ b/multi-bundle/common.xml
@@ -94,8 +94,7 @@
<!-- Main targets -->
<target name="clean" description="Removes the target directory.">
- <delete quiet="true" dir="${target.dir}"/>
- <echo message="Deleted directory: ${target.dir}"/>
+ <delete quiet="false" failonerror="false" dir="${target.dir}"/>
<all-bundles target="clean"/>
</target>
@@ -114,8 +113,7 @@
</not>
</condition>
</fail>
- <delete quiet="true" dir="${integration.repo.dir}/${project.organisation}"/>
- <echo message="Deleted directory: ${integration.repo.dir}/${project.organisation}"/>
+ <delete quiet="false" failonerror="false" dir="${integration.repo.dir}/${project.organisation}"/>
</target>
<target name="clean-all-integration" description="Removes the integration repository directory.">
@@ -126,8 +124,7 @@
</not>
</condition>
</fail>
- <delete quiet="true" dir="${integration.repo.dir}"/>
- <echo message="Deleted directory: ${integration.repo.dir}"/>
+ <delete quiet="false" failonerror="false" dir="${integration.repo.dir}"/>
</target>
<target name="clean-ivy" depends="ivy.init" description="Removes the ivy cache directory.">
@@ -138,8 +135,7 @@
</not>
</condition>
</fail>
- <delete quiet="true" dir="${ivy.cache.dir}"/>
- <echo message="Deleted directory: ${ivy.cache.dir}"/>
+ <delete quiet="false" failonerror="false" dir="${ivy.cache.dir}"/>
</target>
<!-- Other targets -->