Am 30.09.2011 18:09, schrieb sebb:
On 30 September 2011 05:42, Ralph Goers<[email protected]>  wrote:
I'm not sure overriding the template is the correct solution.  For the vfs 
release I had to manually rename the file when I scp'd it to the dist directory.

Huh? It shoulld not be necessary to rename generated artifacts.

In fact I think that's a bad precedent to set - there has to be a
better way to do it.


[1] describes the generation of a download page in the section "Configure the Build to Generate a Complete Set of Release Artifacts". This involves executing a maven goal which generates the download page and committing the changes. The generation makes use of some properties defined in the pom. One of these properties allows specifying the suffix of the binary release. I followed this description, and after setting the property correctly (in my case I had to remove it so that the default value applied) the download page worked correctly.

So I think I used the "official" method, and it was not necessary to rename files.

Oliver

[1] http://commons.apache.org/releases/prepare.html


Ralph

On Sep 29, 2011, at 1:07 PM, [email protected] wrote:

Author: oheger
Date: Thu Sep 29 20:07:37 2011
New Revision: 1177415

URL: http://svn.apache.org/viewvc?rev=1177415&view=rev
Log:
Re-generated download page with correct -bin suffix for binary distributions.

Modified:
    commons/proper/configuration/trunk/pom.xml
    commons/proper/configuration/trunk/src/site/xdoc/download_configuration.xml

Modified: commons/proper/configuration/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/pom.xml?rev=1177415&r1=1177414&r2=1177415&view=diff
==============================================================================
--- commons/proper/configuration/trunk/pom.xml (original)
+++ commons/proper/configuration/trunk/pom.xml Thu Sep 29 20:07:37 2011
@@ -428,7 +428,6 @@
   <properties>
     <commons.componentid>configuration</commons.componentid>
     <commons.release.version>1.7</commons.release.version>
-<commons.binary.suffix></commons.binary.suffix>
     <commons.jira.id>CONFIGURATION</commons.jira.id>
     <commons.jira.pid>12310467</commons.jira.pid>
     <maven.compile.source>1.4</maven.compile.source>

Modified: 
commons/proper/configuration/trunk/src/site/xdoc/download_configuration.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/site/xdoc/download_configuration.xml?rev=1177415&r1=1177414&r2=1177415&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/site/xdoc/download_configuration.xml 
(original)
+++ commons/proper/configuration/trunk/src/site/xdoc/download_configuration.xml 
Thu Sep 29 20:07:37 2011
@@ -99,14 +99,14 @@ limitations under the License.
       <subsection name="Binaries">
         <table>
           <tr>
-<td><a 
href="[preferred]/commons/configuration/binaries/commons-configuration-1.7.tar.gz">commons-configuration-1.7.tar.gz</a></td>
-<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7.tar.gz.md5";>md5</a></td>
-<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7.tar.gz.asc";>pgp</a></td>
+<td><a 
href="[preferred]/commons/configuration/binaries/commons-configuration-1.7-bin.tar.gz">commons-configuration-1.7-bin.tar.gz</a></td>
+<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7-bin.tar.gz.md5";>md5</a></td>
+<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7-bin.tar.gz.asc";>pgp</a></td>
           </tr>
           <tr>
-<td><a 
href="[preferred]/commons/configuration/binaries/commons-configuration-1.7.zip">commons-configuration-1.7.zip</a></td>
-<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7.zip.md5";>md5</a></td>
-<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7.zip.asc";>pgp</a></td>
+<td><a 
href="[preferred]/commons/configuration/binaries/commons-configuration-1.7-bin.zip">commons-configuration-1.7-bin.zip</a></td>
+<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7-bin.zip.md5";>md5</a></td>
+<td><a 
href="http://www.apache.org/dist/commons/configuration/binaries/commons-configuration-1.7-bin.zip.asc";>pgp</a></td>
           </tr>
         </table>
       </subsection>




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to