diff options
author | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 09:41:33 +0000 |
---|---|---|
committer | nash <nash@13f79535-47bb-0310-9956-ffa450edef68> | 2010-10-25 09:41:33 +0000 |
commit | 49ffa3fb909dcb3dcaa6d26fd3a056214dd72b27 (patch) | |
tree | 6541d1f1f6b30b739d2133ff327cadb8c4880013 /sca-java-1.x/trunk/tools/maven/maven-ant-generator/src/main/java | |
parent | 2bdf5388484fb94325cc7eb6cfa8fddf6d679bbc (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.java | 4 |
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(); |