You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by he...@apache.org on 2006/12/10 18:06:42 UTC

svn commit: r485218 - in /velocity/site/trunk/src/site: resources/download.cgi xdoc/download.xml xdoc/downloads.xml

Author: henning
Date: Sun Dec 10 09:06:41 2006
New Revision: 485218

URL: http://svn.apache.org/viewvc?view=rev&rev=485218
Log:
Start download page


Added:
    velocity/site/trunk/src/site/resources/download.cgi   (with props)
    velocity/site/trunk/src/site/xdoc/download.xml
      - copied, changed from r485160, velocity/site/trunk/src/site/xdoc/downloads.xml
Removed:
    velocity/site/trunk/src/site/xdoc/downloads.xml

Added: velocity/site/trunk/src/site/resources/download.cgi
URL: http://svn.apache.org/viewvc/velocity/site/trunk/src/site/resources/download.cgi?view=auto&rev=485218
==============================================================================
--- velocity/site/trunk/src/site/resources/download.cgi (added)
+++ velocity/site/trunk/src/site/resources/download.cgi Sun Dec 10 09:06:41 2006
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.    
+
+cd /www/www.apache.org/dyn/mirrors
+/www/www.apache.org/dyn/mirrors/mirrors.cgi $*

Propchange: velocity/site/trunk/src/site/resources/download.cgi
------------------------------------------------------------------------------
    svn:executable = *

Copied: velocity/site/trunk/src/site/xdoc/download.xml (from r485160, velocity/site/trunk/src/site/xdoc/downloads.xml)
URL: http://svn.apache.org/viewvc/velocity/site/trunk/src/site/xdoc/download.xml?view=diff&rev=485218&p1=velocity/site/trunk/src/site/xdoc/downloads.xml&r1=485160&p2=velocity/site/trunk/src/site/xdoc/download.xml&r2=485218
==============================================================================
--- velocity/site/trunk/src/site/xdoc/downloads.xml (original)
+++ velocity/site/trunk/src/site/xdoc/download.xml Sun Dec 10 09:06:41 2006
@@ -1,4 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation Maven//EN" "http://maven.apache.org/dtd/xdoc_1_0.dtd">
 <document>
   <properties>
     <title>The Apache Velocity Project</title>
@@ -12,6 +13,48 @@
       <p>
         You can download sources and binaries for all Velocity projects from here.
       </p>
+
+      <a name="mirror" />
+      <subsection name="Mirror Selection">
+        <p>
+          [if-any logo]
+          <a href="[link]"><img align="right" src="[logo]" border="0" alt="logo"/></a>
+          [end]
+          The currently selected mirror is <b>[preferred]</b>.
+          If you encounter a problem with this mirror,
+          please select another mirror.
+          If all mirrors are failing, there are <i>backup</i> mirrors
+          (at the end of the mirrors list) that should be available.
+        </p>
+
+        <form action="[location]" method="get" id="SelectMirror">
+          <p>
+            Other mirrors:
+            <select name="Preferred">
+              [if-any http]
+                [for http]
+                  <option value="[http]">[http]</option>
+                 [end]
+              [end]
+              [if-any ftp]
+                [for ftp]
+                  <option value="[ftp]">[ftp]</option>
+                [end]
+              [end]
+              [if-any backup]
+                [for backup]
+                  <option value="[backup]">[backup] (backup)</option>
+                [end]
+              [end]
+            </select>
+            <input type="submit" value="Change" />
+          </p>
+        </form>
+ 
+        <p>
+          You may also consult the <a href="http://www.apache.org/mirrors/">complete list of mirrors</a>.
+        </p>
+      </subsection>
     </section>
 
     <section name="Production releases">
@@ -24,12 +67,50 @@
           <th>Source distribution</th>
           <th>Binary distribution</th>
         </tr>
+        <tr>
+          <td>Engine</td>
+          <td>(The binary distribution contains the source)</td>
+          <td><a href="[preferred]/velocity/engine/release/velocity-1.4/velocity-1.4.zip">velocity-1.4.zip</a>
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.4/velocity-1.4.zip.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.4/velocity-1.4.zip.md5">MD5</a>]
+          </td>
+        </tr>
+        <tr>
+          <td />
+          <td>(The binary distribution contains the source)</td>
+          <td><a href="[preferred]/velocity/engine/release/velocity-1.4/velocity-1.4.tar.gz">velocity-1.4.tar.gz</a>
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.4/velocity-1.4.tar.gz.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.4/velocity-1.4.tar.gz.md5">MD5</a>]
+          </td>
+        </tr>
+        <tr>
+          <td>Tools</td>
+          <td><a href="[preferred]/velocity/tools/release/velocity-tools-1.2/velocity-tools-src-1.2.zip">velocity-tools-src-1.2.zip</a>
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-src-1.2.zip.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-src-1.2.zip.md5">MD5</a>]
+          </td>
+          <td><a href="[preferred]/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2.zip">velocity-tools-1.2.zip</a>
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2.zip.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2.zip.md5">MD5</a>]
+          </td>
+        </tr>
+        <tr>
+          <td/>
+          <td><a href="[preferred]/velocity/tools/release/velocity-tools-1.2/velocity-tools-src-1.2.tar.gz">velocity-tools-src-1.2.tar.gz</a>
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-src-1.2.tar.gz.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-src-1.2.tar.gz.md5">MD5</a>]
+          </td>
+          <td><a href="[preferred]/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2.tar.gz">velocity-tools-1.2.tar.gz</a>
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2.tar.gz.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2.tar.gz.md5">MD5</a>]
+          </td>
+        </tr>
       </table>
     </section>
 
     <section name="Alpha/Beta releases">
       <p>
-        These releases are not yet production-ready but they might contain new features or bug fixes that are not yet in the 
+        These releases are not considered production-ready but they might contain new features or bug fixes that are not yet in the 
         production release.
       </p>
       <table>
@@ -37,6 +118,24 @@
           <th>Project</th>
           <th>Source distribution</th>
           <th>Binary distribution</th>
+        </tr>
+        <tr>
+          <td>Engine</td>
+          <td>(The binary distribution contains the source)</td>
+          <td><a href="[preferred]/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.zip">velocity-1.5-beta2.zip</a>
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.zip.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.zip.md5">MD5</a>]
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.zip.sha1">SHA1</a>]
+          </td>
+        </tr>
+        <tr>
+          <td />
+          <td>(The binary distribution contains the source)</td>
+          <td><a href="[preferred]/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.tar.gz">velocity-1.5-beta2.tar.gz</a>
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.tar.gz.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.tar.gz.md5">MD5</a>]
+                          [<a href="http://www.apache.org/velocity/engine/release/velocity-1.5-beta2/velocity-1.5-beta2.tar.gz.sha1">SHA1</a>]
+          </td>
         </tr>
       </table>
     </section>