[ 
https://issues.apache.org/jira/browse/DERBY-6531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Myrna van Lunteren updated DERBY-6531:
--------------------------------------

    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.

  was:
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 the files were in use.

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


> The ant genrelnotes target fails to run the clean_target on windows
> -------------------------------------------------------------------
>
>                 Key: DERBY-6531
>                 URL: https://issues.apache.org/jira/browse/DERBY-6531
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.10.1.4
>         Environment: windows 7
>            Reporter: Myrna van Lunteren
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to