forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r278759 - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo: input.xmap resources/stylesheets/releaseNotes2document.xsl
Date Mon, 05 Sep 2005 14:47:47 GMT
Author: rgardler
Date: Mon Sep  5 07:47:17 2005
New Revision: 278759

URL: http://svn.apache.org/viewcvs?rev=278759&view=rev
Log:
allow a reqeust with an empty version number (defaults to current version)

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap?rev=278759&r1=278758&r2=278759&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap Mon Sep 
5 07:47:17 2005
@@ -62,6 +62,13 @@
         <map:serialize type="xml-document"/>
       </map:match>
 
+      <map:match type="regexp" pattern="^(.*?)([^/]*)summary.xml$">
+        <map:generate type="file" src="{lm:{0}}" />
+        <map:transform src="resources/stylesheets/releaseNotes2document.xsl"/>
+        <map:serialize type="xml-document"/>
+      </map:match>
+
+
     </map:pipeline>
   </map:pipelines>
 </map:sitemap>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl?rev=278759&r1=278758&r2=278759&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl
(original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes2document.xsl
Mon Sep  5 07:47:17 2005
@@ -36,6 +36,9 @@
       <xsl:when test="$versionNumber='current'">
         <xsl:value-of select="//release[1]/@version"/>
       </xsl:when>
+      <xsl:when test="$versionNumber=''">
+        <xsl:value-of select="//release[1]/@version"/>
+      </xsl:when>
       <xsl:otherwise>
         <xsl:value-of select="$versionNumber"/>
       </xsl:otherwise>



Mime
View raw message