You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2010/11/16 15:48:06 UTC
svn commit: r1035647 - in /db/derby/code/trunk: build.xml
tools/ant/properties/dirs.properties tools/release/build.xml
Author: rhillegas
Date: Tue Nov 16 14:48:05 2010
New Revision: 1035647
URL: http://svn.apache.org/viewvc?rev=1035647&view=rev
Log:
DERBY-2573: Add a variable for specifying the location of the eclipse ui/doc plugin and sign that artifact along with the others.
Modified:
db/derby/code/trunk/build.xml
db/derby/code/trunk/tools/ant/properties/dirs.properties
db/derby/code/trunk/tools/release/build.xml
Modified: db/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/build.xml?rev=1035647&r1=1035646&r2=1035647&view=diff
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Tue Nov 16 14:48:05 2010
@@ -1983,13 +1983,13 @@
</target>
<!--
- Checkin in-flight edits
+ Checkin in-flight edits. Do not checkin files if we are running in debug mode.
Args:
checkinComment This is the subversion checkin comment.
fileName This is the name of the file to checking (could be the root of the client).
-->
- <target name="checkinfile">
+ <target name="checkinfile" unless="debug.release.build">
<property name="checkinMessage" value="${release.base}/tmp.checkin.message"/>
<property name="fullComment" value="[RELEASE CHECKIN] ${checkinComment}"/>
@@ -2623,10 +2623,11 @@ you should not have to do this.
>
<ant antfile="${basedir}/tools/release/build.xml" target="release"/>
- <!-- copy the eclipse plugin into the distribution directory -->
+ <!-- copy the eclipse plugins into the distribution directory -->
<property file="${release.base}/plugintmp.properties"/>
<property name="eclipse.plugin" value="${plugin.derby.core.zipfile}_${plugin.derby.version}.zip"/>
<copy file="${jarsdist.dir}/insane/${eclipse.plugin}" todir="${release.dir}"/>
+ <copy file="${eclipse.ui.doc.plugin}" tofile="${release.dir}/${eclipse.ui.doc.plugin.name}"/>
<!-- sign all of the artifacts -->
<ant antfile="${basedir}/tools/release/build.xml" target="sign"/>
@@ -2702,7 +2703,7 @@ you should not have to do this.
Sneaky, very, very sneaky.
-->
- <target name="promptforreleaseproperties" depends="promptforsvncredentials,promptforpgpcredentials,promptforreleaseid"/>
+ <target name="promptforreleaseproperties" depends="promptforsvncredentials,promptforpgpcredentials,promptforreleaseid,promptforeclipseplugin"/>
<!-- Define the task which prompts for missing properties -->
<target name="defineprompt" depends="prebuild">
@@ -2760,6 +2761,16 @@ you should not have to do this.
</target>
+ <!-- Prompt for location of eclipse ui/doc plugin. This artifact does not generally change from one release to another -->
+ <target name="promptforeclipseplugin" depends="defineprompt">
+
+ <promptForProperty
+ propertyName="eclipse.ui.doc.plugin"
+ prompt="Enter the location of the eclipse ui/doc plugin (e.g., /Users/me/derby/derby_ui_doc_plugin_1.1.2.zip) > "
+ />
+
+ </target>
+
<!--
Prompt for whether we should continue. The user is offered a Y/N choice.
Modified: db/derby/code/trunk/tools/ant/properties/dirs.properties
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/tools/ant/properties/dirs.properties?rev=1035647&r1=1035646&r2=1035647&view=diff
==============================================================================
--- db/derby/code/trunk/tools/ant/properties/dirs.properties (original)
+++ db/derby/code/trunk/tools/ant/properties/dirs.properties Tue Nov 16 14:48:05 2010
@@ -121,4 +121,6 @@ derby.testing.perf.dir=${derby.testing.d
derby.testing.suites.dir=${derby.testing.functest.dir}/suites
derby.testing.system.dir=${derby.testing.dir}/system
+# file names
sqlstateTables=${gen.doc.dir}/rrefexcept71493.dita
+eclipse.ui.doc.plugin.name=derby_ui_doc_plugin_1.1.2.zip
Modified: db/derby/code/trunk/tools/release/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/tools/release/build.xml?rev=1035647&r1=1035646&r2=1035647&view=diff
==============================================================================
--- db/derby/code/trunk/tools/release/build.xml (original)
+++ db/derby/code/trunk/tools/release/build.xml Tue Nov 16 14:48:05 2010
@@ -469,6 +469,12 @@
<antcall target="pgp">
<param name="sign.archive" value="${release.dir}/${eclipse.plugin}"/>
</antcall>
+ <antcall target="md5">
+ <param name="sign.archive" value="${release.dir}/${eclipse.ui.doc.plugin.name}"/>
+ </antcall>
+ <antcall target="pgp">
+ <param name="sign.archive" value="${release.dir}/${eclipse.ui.doc.plugin.name}"/>
+ </antcall>
</target>
<target name="md5">