"clean" target in generated build.xml files fails with empty target directory
-----------------------------------------------------------------------------

                 Key: TUSCANY-3680
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3680
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Samples
    Affects Versions: Java-SCA-1.6
            Reporter: Simon Nash
            Assignee: Simon Nash
             Fix For: Java-SCA-Next


The Tuscany maven-ant-generator plugin generates "clean" targets of the form:

    <target name="clean">
        <delete includeemptydirs="true">
            <fileset dir="target"/>
        </delete>
    </target>

This fails if the "target" directory doesn't exist.  The generated code should 
be changed to:

    <target name="clean">
        <delete dir="target" includeemptydirs="true"/>
    </target>

which works in all cases.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to