Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3680

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.6
    • Java-SCA-1.x
    • Java SCA Samples
    • None

    Description

      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.

      Attachments

        Activity

          People

            scnash Simon Nash
            scnash Simon Nash
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: