Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6531

The ant genrelnotes target fails to run the clean_target on windows

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10.2.0
    • Fix Version/s: None
    • Component/s: Build tools
    • Labels:
      None
    • Environment:
      windows 7

      Description

      To build release notes, one need to run the following command:
      ant -Drelnotes.src.reports=/path/to/report_directory
      -Djira.user=<jira user name>
      -Djira.password=<password for that user>
      -Drelease.version=<version of the release in JIRA>
      genrelnotes

      The genrelnotes target includes as the final step:

      <!-- Remove cruft so that it does not turn up in source distributions -->
      <antcall target="clean-jirasoap"/>

      This failed on my windows system, because:
      -----------------
      [path]\tools\release\build.xml:167: The following error occurred while executing this line:
      [path]\tools\release\build.xml:516: Unable to delete file [path]\tools\release\jirasoap\target\JiraSOAP-LATEST-jar-with-dependencies

      Workaround: run the clean-jirasoap target as a separate step.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                myrna Myrna van Lunteren
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: