Am 01.10.2011 01:10, schrieb sebb:
On 30 September 2011 23:09, ralph.goers @dslextreme.com
<[email protected]> wrote:
OK. But I'm not sure how removing the property that is documented on that
page amounts to following the instructions.
To be honest, it never even
occurred to me that commons.binary.suffix might be used in the download page
generation.
Perhaps a documentation fix is in order?
What needs to be changed?
The documentation is a bit distributed (that's why I did not get it
right at first). A short description of the download page generation
process including the supported properties is in the XML template of the
download page under src/site/xdoc/download_<component>.xml in the header
comment.
Maybe a reference to this description from the release documentation is
already sufficient?
Oliver
The vfs project also has that variable defined with no value so
I guess removing it should correct the problem there too.
Ralph
On Fri, Sep 30, 2011 at 11:45 AM, Oliver Heger<[email protected]
wrote:
Am 30.09.2011 18:09, schrieb sebb:
On 30 September 2011 05:42, Ralph
Goers<ralph.goers@dslextreme.**com<[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<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<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<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<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<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<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<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<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<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<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<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<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:
dev-unsubscribe@commons.**apache.org<[email protected]>
For additional commands, e-mail: [email protected]
------------------------------**------------------------------**---------
To unsubscribe, e-mail:
dev-unsubscribe@commons.**apache.org<[email protected]>
For additional commands, e-mail: [email protected]
------------------------------**------------------------------**---------
To unsubscribe, e-mail:
dev-unsubscribe@commons.**apache.org<[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]