You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ol...@apache.org on 2013/02/26 21:52:33 UTC
svn commit: r1450408 - in /commons/proper/el/trunk: ./ pom.xml
src/site/resources/download_el.cgi
Author: olamy
Date: Tue Feb 26 20:52:32 2013
New Revision: 1450408
URL: http://svn.apache.org/r1450408
Log:
restore download cgi
Added:
commons/proper/el/trunk/src/site/resources/download_el.cgi (with props)
Modified:
commons/proper/el/trunk/ (props changed)
commons/proper/el/trunk/pom.xml
Propchange: commons/proper/el/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Feb 26 20:52:32 2013
@@ -4,3 +4,5 @@ target
.classpath
.project
*.iml
+site-content
+
Modified: commons/proper/el/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/el/trunk/pom.xml?rev=1450408&r1=1450407&r2=1450408&view=diff
==============================================================================
--- commons/proper/el/trunk/pom.xml (original)
+++ commons/proper/el/trunk/pom.xml Tue Feb 26 20:52:32 2013
@@ -111,6 +111,8 @@
<commons.binary.suffix></commons.binary.suffix>
<commons.jira.id>EL</commons.jira.id>
<commons.jira.pid>12310473</commons.jira.pid>
+
+ <commons.scmPubCheckoutDirectory>site-content</commons.scmPubCheckoutDirectory>
</properties>
<build>
@@ -138,4 +140,51 @@
</plugin>
</plugins>
</build>
+
+ <profiles>
+ <profile>
+ <id>setup-checkout</id>
+ <activation>
+ <file>
+ <missing>site-content</missing>
+ </file>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>prepare-checkout</id>
+ <phase>pre-site</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <exec executable="svn">
+ <arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
+ </exec>
+
+ <exec executable="svn">
+ <arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
+ </exec>
+
+ <pathconvert pathsep=" " property="dirs">
+ <dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
+ </pathconvert>
+ <exec executable="svn">
+ <arg line="update --set-depth infinity ${dirs}" />
+ </exec>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
</project>
Added: commons/proper/el/trunk/src/site/resources/download_el.cgi
URL: http://svn.apache.org/viewvc/commons/proper/el/trunk/src/site/resources/download_el.cgi?rev=1450408&view=auto
==============================================================================
--- commons/proper/el/trunk/src/site/resources/download_el.cgi (added)
+++ commons/proper/el/trunk/src/site/resources/download_el.cgi Tue Feb 26 20:52:32 2013
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file
Propchange: commons/proper/el/trunk/src/site/resources/download_el.cgi
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: commons/proper/el/trunk/src/site/resources/download_el.cgi
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision