You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by mu...@apache.org on 2008/12/31 19:33:08 UTC
svn commit: r730440 - in /struts/struts2/trunk: pom.xml
src/site/xdoc/index.xml src/site/xdoc/index.xml.vm
Author: musachy
Date: Wed Dec 31 10:33:08 2008
New Revision: 730440
URL: http://svn.apache.org/viewvc?rev=730440&view=rev
Log:
make the version in Download button dynamic
Added:
struts/struts2/trunk/src/site/xdoc/index.xml.vm (contents, props changed)
- copied, changed from r730411, struts/struts2/trunk/src/site/xdoc/index.xml
Removed:
struts/struts2/trunk/src/site/xdoc/index.xml
Modified:
struts/struts2/trunk/pom.xml
Modified: struts/struts2/trunk/pom.xml
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/pom.xml?rev=730440&r1=730439&r2=730440&view=diff
==============================================================================
--- struts/struts2/trunk/pom.xml (original)
+++ struts/struts2/trunk/pom.xml Wed Dec 31 10:33:08 2008
@@ -78,6 +78,10 @@
<url>http://www.apache.org</url>
</organization>
+ <properties>
+ <currentVersion>${pom.version}</currentVersion>
+ </properties>
+
<profiles>
<profile>
<id>xwork</id>
@@ -190,7 +194,7 @@
</plugin>
<plugin>
<artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-5</version>
+ <version>2.0-beta-7</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
Copied: struts/struts2/trunk/src/site/xdoc/index.xml.vm (from r730411, struts/struts2/trunk/src/site/xdoc/index.xml)
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/src/site/xdoc/index.xml.vm?p2=struts/struts2/trunk/src/site/xdoc/index.xml.vm&p1=struts/struts2/trunk/src/site/xdoc/index.xml&r1=730411&r2=730440&rev=730440&view=diff
==============================================================================
--- struts/struts2/trunk/src/site/xdoc/index.xml (original)
+++ struts/struts2/trunk/src/site/xdoc/index.xml.vm Wed Dec 31 10:33:08 2008
@@ -36,7 +36,9 @@
<a name="Welcome"/>
<div style="text-align:left;height:200px">
- <a href="docs/home.html"><img src="images/struts2-merger2.png" alt="Struts 2 and WebWork merger" hspace="16" align="left"/></a>
+ <div style="float:left;margin-left:16px;margin-right:16px">
+ <a href="docs/home.html"><img src="images/struts2-merger2.png" alt="Struts 2 and WebWork merger"/></a>
+ </div>
<p>
<strong>Apache Struts 2 is an elegant, extensible framework</strong> for creating enterprise-ready Java web applications.
@@ -54,10 +56,11 @@
</div>
<div>
<table><tr><td>
- <a href="http://struts.apache.org/download.cgi#struts213">
+ #set($aname=$currentVersion.replaceAll('\.', ""))
+ <a href="http://struts.apache.org/download.cgi#struts${aname}">
<div style="background:url(images/download.gif) no-repeat scroll 0%; width:200px; height:80px; float:left;position:relative;margin:5px">
<span style="top:15px;position:absolute;color:white;padding-left:10px">
- <small>version 2.1.3</small>
+ <small>version ${currentVersion}</small>
<br />
<span style="font-weight: bold; font-size:140%">Download Now</span>
</span>
Propchange: struts/struts2/trunk/src/site/xdoc/index.xml.vm
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: struts/struts2/trunk/src/site/xdoc/index.xml.vm
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: struts/struts2/trunk/src/site/xdoc/index.xml.vm
------------------------------------------------------------------------------
svn:mergeinfo =