[jira] [Updated] (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2014-01-10 Thread Rick Hillegas (JIRA)

 [ 
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-17-aa-useAntExec4.diff

Fourth attempt: derby-2573-17-aa-useAntExec4.diff. Copied more logic from the 
10.10 version. Oh, I'm really getting close now.

> 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
>  Labels: releasegeneration
> Fix For: 10.9.1.0
>
> Attachments: DERBY-2573.diff_1notforcommit, 
> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.diff, 
> derby-2573-12-aa-eclipse_ui_doc_plugin.diff, 
> derby-2573-13-aa-writePropertiesTarget.diff, 
> derby-2573-14-aa-useAntExec.diff, derby-2573-15-aa-useAntExec2.diff, 
> derby-2573-16-aa-useAntExec3.diff, derby-2573-17-aa-useAntExec4.diff
>
>
> This is one of the tasks tracked by master JIRA DERBY-2571.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2014-01-10 Thread Rick Hillegas (JIRA)

 [ 
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-16-aa-useAntExec3.diff

Attaching derby-2573-16-aa-useAntExec3.diff, a third attempt to fix this 
problem. This version copies more logic from the 10.10 version of build.xml. 
Hopefully that gets us closer to having a platform-portable approach to this 
problem.


> 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
>  Labels: releasegeneration
> Fix For: 10.9.1.0
>
> Attachments: DERBY-2573.diff_1notforcommit, 
> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.diff, 
> derby-2573-12-aa-eclipse_ui_doc_plugin.diff, 
> derby-2573-13-aa-writePropertiesTarget.diff, 
> derby-2573-14-aa-useAntExec.diff, derby-2573-15-aa-useAntExec2.diff, 
> derby-2573-16-aa-useAntExec3.diff
>
>
> This is one of the tasks tracked by master JIRA DERBY-2571.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2014-01-10 Thread Rick Hillegas (JIRA)

 [ 
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-15-aa-useAntExec2.diff

Attaching derby-2573-15-aa-useAntExec2.diff, a second attempt to fix this 
problem. Replaced ant.exec with ${ant.exec}.


> 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
>  Labels: releasegeneration
> Fix For: 10.9.1.0
>
> Attachments: DERBY-2573.diff_1notforcommit, 
> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.diff, 
> derby-2573-12-aa-eclipse_ui_doc_plugin.diff, 
> derby-2573-13-aa-writePropertiesTarget.diff, 
> derby-2573-14-aa-useAntExec.diff, derby-2573-15-aa-useAntExec2.diff
>
>
> This is one of the tasks tracked by master JIRA DERBY-2571.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2014-01-10 Thread Rick Hillegas (JIRA)

 [ 
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-14-aa-useAntExec.diff

Attaching derby-2573-14-aa-useAntExec.diff. It looks as though the 
builduserdocs target in the 10.8 branch was changed to use ant.bat instead of 
ant.exec. That probably makes the target work on Windows, but it breaks the 
build on my Mac. I am reverting the target to use ant.exec again so that I can 
build a release. We need to wrap some portability code around this difference 
so that we can build Derby releases on both platforms.


> 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
>  Labels: releasegeneration
> Fix For: 10.9.1.0
>
> Attachments: DERBY-2573.diff_1notforcommit, 
> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.diff, 
> derby-2573-12-aa-eclipse_ui_doc_plugin.diff, 
> derby-2573-13-aa-writePropertiesTarget.diff, derby-2573-14-aa-useAntExec.diff
>
>
> This is one of the tasks tracked by master JIRA DERBY-2571.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2011-03-29 Thread Rick Hillegas (JIRA)

 [ 
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-13-aa-writePropertiesTarget.diff

Attaching derby-2573-13-aa-writePropertiesTarget.diff. This patch creates a 
separate target for writing the release properties. Committed at subversion 
revision 1086660.

Touches the following file:

M  build.xml


> 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
>  Labels: releasegeneration
> Attachments: DERBY-2573.diff_1notforcommit, 
> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.diff, 
> derby-2573-12-aa-eclipse_ui_doc_plugin.diff, 
> derby-2573-13-aa-writePropertiesTarget.diff
>
>
> This is one of the tasks tracked by master JIRA DERBY-2571.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-11-16 Thread Rick Hillegas (JIRA)

 [ 
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-12-aa-eclipse_ui_doc_plugin.diff

Attaching derby-2573-12-aa-eclipse_ui_doc_plugin.diff. This patch adds a 
variable for specifying the location of the eclipse ui/doc plugin and signs 
that artifact along with the others. Committed at subversion revision 1035647.

Touches the following files:


---

M  tools/ant/properties/dirs.properties

Added a constant for the plugin's name.

---

M  build.xml

Prompt for the plugin's location if it was not specified on the command line or 
in ant.properties. Copy it to the directory where the other release artifacts 
live. While I was in there, I cleaned up the checkin target: now it is a nop if 
debug.release.build is set.

---

M  tools/release/build.xml

Sign the eclipse ui/doc plugin along with the core eclipse plugin.


> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.diff, 
> derby-2573-12-aa-eclipse_ui_doc_plugin.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-11-15 Thread Rick Hillegas (JIRA)

 [ 
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-11-aa-signDebugArtifacts.diff

Attaching derby-2573-11-aa-signDebugArtifacts.diff. This adds a target for 
signing the debug artifacts. Committed at subversion revision 1035327.



Touches the following files:

M  tools/release/build.xml


> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.diff, 
> derby-2573-11-aa-signDebugArtifacts.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-18 Thread Rick Hillegas (JIRA)

 [ 
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-10-aa-notice.diff

Attaching derby-2573-10-aa-notice.diff. This patch makes the release-build 
update the NOTICE file with the current copyright year and then check it in. 
Committed at subversion revision 1023985.

This patch makes the following changes:

1) Splits the NOTICE file up into a number of separate files, one for each 
software grant.

2) Parameterizes the ending copyright date on the preamble notice.

3) Makes the release-build concatenate all of these files and substitute the 
copyright token with the current year.

The preamble warns the user that NOTICE shouldn't be edited directly anymore. 
Instead, the preamble points the reader at the buildnotice target, which shows 
how the NOTICE file is built.


Touches the following files:



A  tools/release/notices
A  tools/release/notices/jdbcstubs.txt
A  tools/release/notices/xalan.txt
A  tools/release/notices/initialgrant.txt
A  tools/release/notices/felix.txt
A  tools/release/notices/preamble.txt
A  tools/release/notices/nisttestgrant.txt
A  tools/release/notices/separator.txt

New notice files, one for each grant.




M  build.xml
M  tools/ant/properties/dirs.properties

Machinery to generate the NOTICE file when the release is built.


> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.diff, derby-2573-10-aa-notice.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-18 Thread Rick Hillegas (JIRA)

 [ 
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-09-aa-copySQLStateTableEarlier.diff

Attaching derby-2573-09-aa-copySQLStateTableEarlier.diff. This moves the 
checkin of the SQLState documentation to an earlier point in the release-build. 
All of the checkins needed for the release should be finished before we sync 
the clients to bring them up-to-date. Committed at subversion 


Touches the following files:

M  build.xml


> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff, 
> derby-2573-09-aa-copySQLStateTableEarlier.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-18 Thread Rick Hillegas (JIRA)

 [ 
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-08-aa-useReleaseVariablesInDocsBuild.diff

Attaching derby-2573-08-aa-useReleaseVariablesInDocsBuild.diff. This patch 
improves the release-build so that it builds the docs using current release 
variables. Committed at subversion revision 1023889.

This patch takes advantage of the work done by DERBY-4851 to parameterize the 
docs build. This patch passes the following variables to the docs build:

copyright year
long release id (e.g., 10.7.1.0)
short release id (e.g. 10.7)
subversion revision stamp

Touches the following files:

--

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

Writes some extra properties to release.properties so that the values can be 
picked up by the release-build and passed to the docs builder.

--

M  build.xml

Passes release properties to docs build as part of building release 
distributions.


> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.diff, 
> derby-2573-08-aa-useReleaseVariablesInDocsBuild.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-12 Thread Rick Hillegas (JIRA)

 [ 
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-07-aa-createBranch.diff

Attaching derby-2573-07-aa-createBranch.diff. This adds some targets to support 
branch creation as the first step toward generating a feature release. 
Committed at subversion revision 1021793.

This patch introduces a new top-level target: createBranch. You must specify 
your docs root in order to invoke this target. So you would do something like 
the following:

  export DOCS_ROOT=$HOME/derby/docs/$BRANCH
  cd $HOME/derby/$SANDBOX/$BRANCH
  ant "-Ddocs.root=$DOCS_ROOT" -quiet createBranch

I have test-driven the parts of this target which determine the branch and 
starting subversion revision. I have not tested the actual branch creation. 
Will do that when it's time to create the 10.7 branch.


Touches the following file:

M  build.xml


> 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-06-ab-docsClasspath.diff, derby-2573-07-aa-createBranch.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-11 Thread Rick Hillegas (JIRA)

 [ 
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-06-ab-docsClasspath.diff

Attaching derby-2573-06-ab-docsClasspath.diff. This changes the way that the 
docs build is invoked. With this patch, the docs build is run inside another 
process. This lets us adjust the classpath for ant, based on ${docs.root}. And 
this lets us boost the memory which we need to give the docs-building process. 
These changes, in turn, eliminate the need for a platform-specific buildrelease 
script. Committed at subversion revision 1021472.


Touches the following files:

---

M  build.xml

Prompt for docs.root if it isn't set. Then run the docs build with appropriate 
CLASSPATH and memory settings.

---

D  buildrelease

This script is no longer needed.


> 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-06-ab-docsClasspath.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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-11 Thread Rick Hillegas (JIRA)

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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-08 Thread Rick Hillegas (JIRA)

 [ 
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-04-aa-emptyClient.diff

Attaching derby-2573-04-aa-emptyClient.diff. This patch adds a check to the 
master release build: the docs and code clients must have no in-flight edits. 
Committed at subversion revision 1005976.

Once this patch is checked in, it becomes hard to improve the master release 
target because any edits to build.xml will cause the release build to fail. To 
get around this problem, I added a new property:

  debug.release.build

When this property is set to true, the release build goes ahead even though 
there are in-flight edits.


Touches the following files:

M  build.xml


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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-08 Thread Rick Hillegas (JIRA)

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

Rick Hillegas updated DERBY-2573:
-

Issue & fix info:   (was: [Patch Available])

Reset the "Patch Available" flag because all of the patches have been committed 
so far. The changes can be test-driven from the trunk now.

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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-08 Thread Rick Hillegas (JIRA)

 [ 
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-03-aa-propertyPrompt.diff

Attaching derby-2573-03-aa-propertyPrompt.diff. This patch adds a new ant task, 
which prompts the user for properties if they haven't been set already. This 
target lets us move the prompts out of the buildrelease shell script into the 
ant script, making the release process more portable. Committed at subversion 
revision 1005922.

Now invoking the master build target is even simpler:

   ant "-Ddocs.root=$DOCS_ROOT" -quiet release


Touches the following files:

---

A  java/build/org/apache/derbyPreBuild/PropertyPrompt.java

New ant Task which prompts the user for a property value if the property is not 
set already.

---

M  build.xml

The master release target now prompts for credentials if they weren't specified 
on the command line.

---

M  buildrelease

The driving bash shell script is simpler now since it no longer needs to 
prompts for credentials.


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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-07 Thread Rick Hillegas (JIRA)

 [ 
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-02-aa-generateReleaseProperties.diff

Attaching derby-2573-02-aa-generateReleaseProperties.diff. This patch 
introduces a new build target which generates release.properties based on a 
release identifier property. Checked in at subversion revision 1005590.

A later patch will wire this machinery into the master release target after the 
derby-2573-01-aa-masterTarget.diff patch is committed.

To run this target, do the following:

ant -Dderby.release.id="$releaseID" writeReleaseProperties

where $releaseID is a string of the form "N.N.N.N" or "N.N.N.N beta".

E.g.:

ant -Dderby.release.id="10.7.1.0" writeReleaseProperties

Touches the following files:

---

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

New ant task.


---

M  java/engine/org/apache/derby/iapi/services/info/ProductVersionHolder.java

Moved to ReleaseProperties the constant used to encode the fixpack and point 
numbers in the release id.


---

M  build.xml

Added a writeReleaseProperties target to drive the new ant task.


---

M  tools/ant/properties/release.properties

Removed a timestamp line which has not been kept up to date.


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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-06 Thread Rick Hillegas (JIRA)

 [ 
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-01-aa-masterTarget.diff

Attaching derby-2573-01-aa-masterTarget.diff. This patch expands on the work 
Myrna did. This patch adds a master release target which builds and signs the 
distributions. I would appreciate it if another release manager could 
test-drive the master release target to see if it works for someone other than 
me (see the "How to Run It" section below).

After the target finishes, release/distributions holds all of the signed 
artifacts except for the Eclipse ui plugin.

The remainder of this comment addresses the following topics:

o What the Target Does

o How to Run It

o Future Work

o Overview of Changes


-- What the Target Does --

The master build target does the following:

o Commits the generated SQLState tables to the docs repository.

o Syncs both the code and doc clients so that they are up to date.

o Builds sane and insane jars.

o Builds the public javadoc and the Eclipse core plugin.

o Builds the user docs.

o Builds and signs the distributions.


-- How to Run It --

The master build target can be invoked by a bash script, buildrelease. This 
script does two jobs for you:

1) Sets the CLASSPATH needed to run the docs build

2) Asks you for security credentials

The very last line of the script is the actual ant command which invokes the 
master build target. If you don't use bash scripts, you can at least consult 
buildrelease for how to set up your ant command.

The buildrelease script expects that you have set the DOCS_ROOT environment 
variable to point at the top directory of your docs client. If you have not 
done so, the script fails. The script prompts you for your Apache subversion 
credentials and for your pgp passphrase. Then the script invokes the master 
build target. So, to build a release, do the following:

export DOCS_ROOT=someplaceInYourFileSystem
cd topDirectoryOfYourCodeClient
./buildrelease

...and answer the questions which buildrelease asks.


Again, if you don't use bash, you can invoke ant directly. Make sure that you 
have set CLASSPATH to include the libraries needed by the docs build. The 
actual ant command for invoking the master build target is this:

ant "-Ddocs.root=$DOCS_ROOT" "-Dpgp.passphrase=$pgpPassphrase" 
"-Dsvn.username=$subversionUserName" "-Dsvn.password=$subversionPassword" 
-quiet release


-- Future Work --

Follow-on patches can add more functionality:

i) Fail the build if the docs and/or code clients have uncommitted work in them.

ii) Prompt for a release string and then update and checkin 
tools/ant/properties/release.properties accordingly.


-- Overview of Changes --

1) Replaced the docs.out variable with docs.root. The former pointed at the 
output of the docs build while the latter points at the root of the whole docs 
client. The docs.root variable allows more straightforward references to docs 
files.

2) Made prepareforrelease check that docs.root has been set to something 
reasonable.

3) Made prepareforrelease check that your subversion username and password have 
been specified. These are the subversion credentials which you use to commit 
work to the Apache repositories. They are used to checkin the generated 
SQLState tables in your docs client.

4) Made prepareforrelease check that your pgp passphrase has been specified. 
The passphrase is needed in order to sign the distributions.

5) Synced both the code and docs clients so that they are up to date.

6) Fixed some problems in the setting of the sanity state.

7) Added a master release target which creates and signs the distributions.


Touches the following files:

M  java/engine/org/apache/derby/loc/build.xml
M  build.xml
M  tools/release/build.xml
M  tools/ant/properties/packaging.tmpl
M  tools/ant/properties/dirs.properties
A  buildrelease


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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-10-06 Thread Rick Hillegas (JIRA)

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

Rick Hillegas updated DERBY-2573:
-

Issue & fix info: [Patch Available]

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



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2010-05-03 Thread Rick Hillegas (JIRA)

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

Rick Hillegas updated DERBY-2573:
-

Labels: releasegeneration  (was: )

> 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
> Attachments: 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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2009-09-01 Thread Myrna van Lunteren (JIRA)

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

Myrna van Lunteren updated DERBY-2573:
--

Issue & fix info:   (was: [Patch Available])

I committed the prepareforrelease target to trunk with revision 810178 and 
backported to 10.5 with revision 810180. (I left out the 'release' target, as 
it wasn't working).

I'll update http://wiki.apache.org/db-derby/DerbySnapshotOrRelease with the 
option of running this target. 

I don't plan to do more work on this at this time.

> 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
> Attachments: 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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2009-08-31 Thread Myrna van Lunteren (JIRA)

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

Myrna van Lunteren updated DERBY-2573:
--

Issue & fix info: [Patch Available]

> 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
> Attachments: 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.



[jira] Updated: (DERBY-2573) Create master ant target for generating all release artifacts, including code and doc artifacts

2009-08-31 Thread Myrna van Lunteren (JIRA)

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

Myrna van Lunteren updated DERBY-2573:
--

Attachment: DERBY-2573.diff_1notforcommit

I'm attaching a first step for this.
Some of the things I outlined in my comment are actually checked on already by 
the existing build steps, so may not be necessary...

I made a target - prepareforrelease - which will do all the little ant steps to 
prepare for the actual build step; incl clobbering and deleting stuff; checking 
for sane property set, checking for state.properties existing, checking that 
tools/ant/packaging.properties exist, ant sane, ant all, ant buildjars, ant 
clobber, ant insane, ant -Dsane snapshot, ant publishedapi
That part works well enough and I think it's worth committing.

It's not dealing with copying the built error list for the reference guide (not 
sure that's even possible, as we'd have to do an svn commit?) nor with 
attempting to build the docs, nor any of the other tasks explicitly.

I played with a second target (in the current patch) that's *not* ready for 
commit: 'release'. I tried to make an antcall to the 'release' target in 
tools/release/build.xml, but so far I haven't been able to make it work.
So that one's not ready for commit.

The trunk and 10.5 build.xml files haven't diverged much (yet), so I've tried 
this build.xml on a 10.5 environment and it seems to work well.

I'm interested in feedback on this one.


> 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
> Attachments: 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.