commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r912139 - in /commons/proper/commons-build-plugin/trunk/src/main/scripts: generate-xdocs.build.xml generate-xdocs.mojos.xml
Date Sat, 20 Feb 2010 16:16:49 GMT
Author: niallp
Date: Sat Feb 20 16:16:49 2010
New Revision: 912139

URL: http://svn.apache.org/viewvc?rev=912139&view=rev
Log:
Need a second "binary.suffix" property for components that want to show a second release that
was done before m2 (e.g. JEXL 1.1 and 2.0)

Modified:
    commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.build.xml
    commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml

Modified: commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.build.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.build.xml?rev=912139&r1=912138&r2=912139&view=diff
==============================================================================
--- commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.build.xml (original)
+++ commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.build.xml Sat
Feb 20 16:16:49 2010
@@ -107,13 +107,14 @@
     <target name="download-page" description="Generate Download page">
 
         <echo level="${level}" message="----- commons:download-page - Parameters - START
-----" />
-        <echo level="${level}" message="project.name           : ${project.name}" />
-        <echo level="${level}" message="commons.componentid    : ${commons.componentid}"
/>
-        <echo level="${level}" message="commons.release.version: ${commons.release.version}"
/>
-        <echo level="${level}" message="commons.release.desc   : ${commons.release.desc}"
/>
+        <echo level="${level}" message="project.name             : ${project.name}" />
+        <echo level="${level}" message="commons.componentid      : ${commons.componentid}"
/>
+        <echo level="${level}" message="commons.release.version  : ${commons.release.version}"
/>
+        <echo level="${level}" message="commons.release.desc     : ${commons.release.desc}"
/>
+        <echo level="${level}" message="commons.binary.suffix    : ${commons.binary.suffix}"
/>
         <echo level="${level}" message="commons.release.2.version: ${commons.release.2.version}"
/>
-        <echo level="${level}" message="commons.release.2.desc : ${commons.release.2.desc}"
/>
-        <echo level="${level}" message="commons.binary.suffix  : ${commons.binary.suffix}"
/>
+        <echo level="${level}" message="commons.release.2.desc   : ${commons.release.2.desc}"
/>
+        <echo level="${level}" message="commons.release.2.binary.suffix: ${commons.release.2.binary.suffix}"
/>
         <echo level="${level}" message="----- commons:download-page - Parameters - END
  -----" />
 
         <echo level="info" message="*** Generating ${project.name} ${commons.release.version}
Download Page ***" />
@@ -184,7 +185,7 @@
                     <token key="NAME"          value="${project.name}"/>
                     <token key="ID"            value="${commons.componentid}"/>
                     <token key="FINAL_NAME"    value="${project.artifactId}-${commons.release.2.version}"/>
-                    <token key="BINARY-SUFFIX" value="${commons.binary.suffix}"/>
+                    <token key="BINARY-SUFFIX" value="${commons.release.2.binary.suffix}"/>
                 </replacetokens>
             </filterchain>
         </loadresource>

Modified: commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml
URL: http://svn.apache.org/viewvc/commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml?rev=912139&r1=912138&r2=912139&view=diff
==============================================================================
--- commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml (original)
+++ commons/proper/commons-build-plugin/trunk/src/main/scripts/generate-xdocs.mojos.xml Sat
Feb 20 16:16:49 2010
@@ -128,6 +128,15 @@
                     <description>The version of the latest release of the project.</description>
                 </parameter>
                 <parameter>
+                    <name>commons.binary.suffix</name> 
+                    <property>commons.binary.suffix</property>
+                    <required>true</required>
+                    <readonly>false</readonly>
+                    <defaultValue>${commons.binary.suffix}</defaultValue>
+                    <type>java.lang.String</type>
+                    <description>The suffix for the binary distro.</description>
+                </parameter>
+                <parameter>
                     <name>commons.release.desc</name> 
                     <property>commons.release.desc</property>
                     <required>false</required>
@@ -155,13 +164,13 @@
                     <description>Alternative Release Title or Description.</description>
                 </parameter>
                 <parameter>
-                    <name>commons.binary.suffix</name> 
-                    <property>commons.binary.suffix</property>
+                    <name>commons.release.2.binary.suffix</name> 
+                    <property>commons.release.2.binary.suffix</property>
                     <required>true</required>
                     <readonly>false</readonly>
-                    <defaultValue>${commons.binary.suffix}</defaultValue>
+                    <defaultValue>${commons.release.2.binary.suffix}</defaultValue>
                     <type>java.lang.String</type>
-                    <description>The suffix for the binary distro.</description>
+                    <description>The suffix for the alternative release binary distro.</description>
                 </parameter>
             </parameters>
         </mojo>



Mime
View raw message