velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henn...@apache.org
Subject svn commit: r485235 - in /velocity/site/trunk: pom.xml src/cgi/ src/cgi/download.cgi src/site/resources/download.cgi src/site/xdoc/download.xml
Date Sun, 10 Dec 2006 19:05:03 GMT
Author: henning
Date: Sun Dec 10 11:05:00 2006
New Revision: 485235

URL: http://svn.apache.org/viewvc?view=rev&rev=485235
Log:
Download page now actually works. 


Added:
    velocity/site/trunk/src/cgi/
    velocity/site/trunk/src/cgi/download.cgi
      - copied unchanged from r485218, velocity/site/trunk/src/site/resources/download.cgi
Removed:
    velocity/site/trunk/src/site/resources/download.cgi
Modified:
    velocity/site/trunk/pom.xml
    velocity/site/trunk/src/site/xdoc/download.xml

Modified: velocity/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/velocity/site/trunk/pom.xml?view=diff&rev=485235&r1=485234&r2=485235
==============================================================================
--- velocity/site/trunk/pom.xml (original)
+++ velocity/site/trunk/pom.xml Sun Dec 10 11:05:00 2006
@@ -18,14 +18,10 @@
   <distributionManagement>
     <site>
       <id>velocity.apache.org</id>
-      <url>scp://people.apache.org/www/velocity.apache.org/</url>
+     <url>scpexe://people.apache.org/www/velocity.apache.org/staging</url>
     </site>
   </distributionManagement>
 
-  <build>
-    <defaultGoal>site</defaultGoal>
-  </build>
-
   <licenses>
     <license>
       <name>Apache 2</name>
@@ -154,4 +150,37 @@
       </plugin>
     </plugins>
   </reporting>
+  <build>
+    <defaultGoal>post-site</defaultGoal>
+    <plugins>
+      <plugin>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-cgi</id>
+            <goals>
+              <goal>run</goal>
+            </goals>
+            <phase>post-site</phase>
+            <configuration>
+              <tasks>
+                <copy todir="${project.reporting.outputDirectory}">
+                  <fileset dir="${basedir}/src/cgi">
+                    <patternset id="cgi.scripts">
+                      <include name="**/*.cgi"/>
+                    </patternset>
+                  </fileset>
+                </copy>
+                <chmod perm="ugo+rx">
+                  <fileset dir="${project.reporting.outputDirectory}">
+                    <patternset refid="cgi.scripts"/>
+                  </fileset>
+                </chmod>
+              </tasks>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>

Modified: velocity/site/trunk/src/site/xdoc/download.xml
URL: http://svn.apache.org/viewvc/velocity/site/trunk/src/site/xdoc/download.xml?view=diff&rev=485235&r1=485234&r2=485235
==============================================================================
--- velocity/site/trunk/src/site/xdoc/download.xml (original)
+++ velocity/site/trunk/src/site/xdoc/download.xml Sun Dec 10 11:05:00 2006
@@ -85,9 +85,9 @@
         </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><a href="[preferred]/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2-src.zip">velocity-tools-1.2-src.zip</a>
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2-src.zip.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2-src.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>]
@@ -96,9 +96,9 @@
         </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><a href="[preferred]/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2-src.tar.gz">velocity-tools-1.2-src.tar.gz</a>
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2-src.tar.gz.asc">PGP</a>]
+                          [<a href="http://www.apache.org/velocity/tools/release/velocity-tools-1.2/velocity-tools-1.2-src.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>]



Mime
View raw message