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

Rick Hillegas updated DERBY-2573:
---------------------------------

    Attachment: derby-2573-05-aa-updateReleaseProperties.diff

Attaching derby-2573-05-aa-updateReleaseProperties.diff. This patch automates 
some of the drudgery involving release ids. Committed at subversion revision 
1021394.

My apologies to Knut, who has been fixing the nightly builds as my changes 
break them. Hopefully this change only affects code paths untrod by the nightly 
builds.

Now the release builder does the following:

1) Prompts you for the release id at the beginning.

2) Generates release.properties accordingly and checks it in. This step happens 
before building the distributions.

3) At the very end, bumps the last digit of the release id on the branch, 
regenerating release.properties and checking that file in again. This step 
happens after building the distributions.

In addition, the standalone writeReleaseProperties target is now more capable. 
You can use it by itself to adjust the release id on the branch just after 
creating the branch. You can also use it to adjust the release id on the 
development trunk after creating a branch.


Touches the following files:

-----------

M      java/build/org/apache/derbyPreBuild/ReleaseProperties.java

Gives this ant Task a new argument, which determines whether the last digit of 
the release id should be incremented before writing release.properties.

-----------

M      build.xml

Some refactoring so that we can call the more capable writeReleaseProperties 
target.


> Create master ant target for generating all release artifacts, including code 
> and doc artifacts
> -----------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2573
>                 URL: https://issues.apache.org/jira/browse/DERBY-2573
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions: 10.3.1.4
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-2573-01-aa-masterTarget.diff, 
> derby-2573-02-aa-generateReleaseProperties.diff, 
> derby-2573-03-aa-propertyPrompt.diff, derby-2573-04-aa-emptyClient.diff, 
> derby-2573-05-aa-updateReleaseProperties.diff, DERBY-2573.diff_1notforcommit
>
>
> This is one of the tasks tracked by master JIRA DERBY-2571.

-- 
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