db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1035648 - in /db/derby/code/branches/10.7: build.xml tools/ant/properties/dirs.properties tools/release/build.xml
Date Tue, 16 Nov 2010 14:54:48 GMT
Author: rhillegas
Date: Tue Nov 16 14:54:48 2010
New Revision: 1035648

URL: http://svn.apache.org/viewvc?rev=1035648&view=rev
Log:
DERBY-2573: Backport 1035647 from trunk to 10.7 branch.

Modified:
    db/derby/code/branches/10.7/build.xml
    db/derby/code/branches/10.7/tools/ant/properties/dirs.properties
    db/derby/code/branches/10.7/tools/release/build.xml

Modified: db/derby/code/branches/10.7/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.7/build.xml?rev=1035648&r1=1035647&r2=1035648&view=diff
==============================================================================
--- db/derby/code/branches/10.7/build.xml (original)
+++ db/derby/code/branches/10.7/build.xml Tue Nov 16 14:54:48 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/branches/10.7/tools/ant/properties/dirs.properties
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.7/tools/ant/properties/dirs.properties?rev=1035648&r1=1035647&r2=1035648&view=diff
==============================================================================
--- db/derby/code/branches/10.7/tools/ant/properties/dirs.properties (original)
+++ db/derby/code/branches/10.7/tools/ant/properties/dirs.properties Tue Nov 16 14:54:48 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/branches/10.7/tools/release/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.7/tools/release/build.xml?rev=1035648&r1=1035647&r2=1035648&view=diff
==============================================================================
--- db/derby/code/branches/10.7/tools/release/build.xml (original)
+++ db/derby/code/branches/10.7/tools/release/build.xml Tue Nov 16 14:54:48 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">



Mime
View raw message