summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-25 09:41:33 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2010-10-25 09:41:33 +0000
commit49ffa3fb909dcb3dcaa6d26fd3a056214dd72b27 (patch)
tree6541d1f1f6b30b739d2133ff327cadb8c4880013 /sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java
parent2bdf5388484fb94325cc7eb6cfa8fddf6d679bbc (diff)
Merge r998257 Fix code for clean target in generated build.xml files (TUSCANY-3680)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1027005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java')
-rw-r--r--sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java/org/apache/tuscany/sca/tools/ant/generator/plugin/AntGeneratorMojo.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java/org/apache/tuscany/sca/tools/ant/generator/plugin/AntGeneratorMojo.java b/sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java/org/apache/tuscany/sca/tools/ant/generator/plugin/AntGeneratorMojo.java
index b44dd16a91..54ac6c7481 100644
--- a/sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java/org/apache/tuscany/sca/tools/ant/generator/plugin/AntGeneratorMojo.java
+++ b/sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java/org/apache/tuscany/sca/tools/ant/generator/plugin/AntGeneratorMojo.java
@@ -281,9 +281,7 @@ public class AntGeneratorMojo extends AbstractMojo {
// Generate the clean target
pw.println(" <target name=\"clean\">");
- pw.println(" <delete includeemptydirs=\"true\">");
- pw.println(" <fileset dir=\"target\"/>");
- pw.println(" </delete>");
+ pw.println(" <delete dir=\"target\" includeemptydirs=\"true\"/>");
pw.println(" </target>");
pw.println();