You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directmemory.apache.org by ol...@apache.org on 2012/06/21 14:52:40 UTC

svn commit: r1352523 - in /incubator/directmemory/trunk: pom.xml src/site/xdoc/downloads.xml src/site/xdoc/downloads.xml.vm

Author: olamy
Date: Thu Jun 21 12:52:40 2012
New Revision: 1352523

URL: http://svn.apache.org/viewvc?rev=1352523&view=rev
Log:
make downloads page dynamic

Added:
    incubator/directmemory/trunk/src/site/xdoc/downloads.xml.vm
      - copied, changed from r1352515, incubator/directmemory/trunk/src/site/xdoc/downloads.xml
Removed:
    incubator/directmemory/trunk/src/site/xdoc/downloads.xml
Modified:
    incubator/directmemory/trunk/pom.xml

Modified: incubator/directmemory/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/pom.xml?rev=1352523&r1=1352522&r2=1352523&view=diff
==============================================================================
--- incubator/directmemory/trunk/pom.xml (original)
+++ incubator/directmemory/trunk/pom.xml Thu Jun 21 12:52:40 2012
@@ -285,6 +285,10 @@ under the License.
     <osgi.export/>
     <osgi.import/>
     <osgi.private/>
+
+    <!-- properties for web site -->
+    <currentRelease>0.1-incubating</currentRelease>
+
   </properties>
 
   <build>

Copied: incubator/directmemory/trunk/src/site/xdoc/downloads.xml.vm (from r1352515, incubator/directmemory/trunk/src/site/xdoc/downloads.xml)
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/src/site/xdoc/downloads.xml.vm?p2=incubator/directmemory/trunk/src/site/xdoc/downloads.xml.vm&p1=incubator/directmemory/trunk/src/site/xdoc/downloads.xml&r1=1352515&r2=1352523&rev=1352523&view=diff
==============================================================================
--- incubator/directmemory/trunk/src/site/xdoc/downloads.xml (original)
+++ incubator/directmemory/trunk/src/site/xdoc/downloads.xml.vm Thu Jun 21 12:52:40 2012
@@ -44,9 +44,9 @@ under the License.
     </section>
 
     <section name="Current Releases">
-      <subsection name="1.0.0-incubating">
+      <subsection name="${currentRelease}">
         <p>Release date: ?</p>
-        <p><a href="releases/release-notes-0.1-incubating.html">Release notes</a></p>
+        <p><a href="releases/release-notes-${currentRelease}.html">Release notes</a></p>
         <table>
           <thead>
             <tr>
@@ -57,12 +57,12 @@ under the License.
           <tbody>
             <tr>
               <td>
-                <a href="http://www.apache.org/dyn/closer.cgi/incubator/directmemory/1.0.0-incubating/apache-directmemory-0.1-incubating-source-release.zip">apache-directmemory-0.1-incubating-source-release.zip</a>
+                <a href="http://www.apache.org/dyn/closer.cgi/incubator/directmemory/${currentRelease}/apache-directmemory-${currentRelease}-source-release.zip">apache-directmemory-0.1-incubating-source-release.zip</a>
               </td>
               <td>
-                <a href="http://www.apache.org/dist/incubator/directmemory/1.0.0-incubating/apache-directmemory-0.1-incubating-source-release.zip.asc">asc</a>
-                <a href="http://www.apache.org/dist/incubator/directmemory/1.0.0-incubating/apache-directmemory-0.1-incubating-source-release.zip.md5">md5</a>
-                <a href="http://www.apache.org/dist/incubator/directmemory/1.0.0-incubating/apache-directmemory-0.1-incubating-source-release.zip.sha1">sha1</a>
+                <a href="http://www.apache.org/dist/incubator/directmemory/${currentRelease}/apache-directmemory-${currentRelease}-source-release.zip.asc">asc</a>
+                <a href="http://www.apache.org/dist/incubator/directmemory/${currentRelease}/apache-directmemory-${currentRelease}-source-release.zip.md5">md5</a>
+                <a href="http://www.apache.org/dist/incubator/directmemory/${currentRelease}/apache-directmemory-${currentRelease}-source-release.zip.sha1">sha1</a>
               </td>
             </tr>
           </tbody>