You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2007/04/10 02:20:10 UTC
svn commit: r526968 [1/3] - in
/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo: ./
resources/stylesheets/ src/documentation/ src/documentation/content/
src/documentation/content/svn-log/ src/documentation/content/useCases/
src/docume...
Author: crossley
Date: Mon Apr 9 17:20:08 2007
New Revision: 526968
URL: http://svn.apache.org/viewvc?view=rev&rev=526968
Log:
Whitespace changes only. Using xmlformat. Issue: FOR-644
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/build.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/default.plugin.properties.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/doap-forrest.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources.xmap
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-rss.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/directory-to-useCases.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/first-last-revision.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes-to-document.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-log.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-to-changes.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/todo-to-document.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/useCase-to-document.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/path-to-context.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/svn-log/log.svn.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/useCases/changeLogFeatures.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/useCases/useCaseFeatures.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/index.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/tabs.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/skinconf.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/translations/ProjectInfoMessages_en.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/translations/ProjectInfoMessages_es.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/svnHelper.xmap
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/build.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/build.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/build.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/build.xml Mon Apr 9 17:20:08 2007
@@ -16,7 +16,6 @@
limitations under the License.
-->
<project default="docs" basedir="." name="Forrest plugin build file">
-
<property name="plugin-name" value="org.apache.forrest.plugin.input.projectInfo"/>
<property name="forrest.version" value="0.8"/>
<property name="type" value="input"/>
@@ -26,10 +25,8 @@
<property name="websiteURL" value="http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.input.projectInfo/"/>
<property name="downloadURL" value="http://forrest.apache.org/plugins/"/>
<property name="publish" value="true"/>
-
<import file="../build.xml"/>
-
- <!-- Add any additional installation work here in the build target, for example:
+<!-- Add any additional installation work here in the build target, for example:
<target name="build"
description="Extract the tools">
<unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
@@ -40,5 +37,3 @@
</target>
-->
</project>
-
-
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/default.plugin.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/default.plugin.properties.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/default.plugin.properties.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/default.plugin.properties.xml Mon Apr 9 17:20:08 2007
@@ -16,25 +16,21 @@
limitations under the License.
-->
<properties>
- <!-- Project identity -->
+<!-- Project identity -->
<property name="projectInfo.project.fullname" value="MyProject"/>
<property name="projectInfo.project.url" value="http://myproj.mygroup.org/"/>
-
- <!-- A comma separated list defining the way actions are sorted in the changes file.
+<!-- A comma separated list defining the way actions are sorted in the changes file.
none = no sorting, will be listed in chronological order
type = group by the type attribute -->
<property name="projectInfo.changes.sort" value="type"/>
-
- <!-- Indicate if the committers list should be included. Values are true
+<!-- Indicate if the committers list should be included. Values are true
or false. -->
<property name="projectInfo.changes.includeCommitterList" value="true"/>
-
- <!-- Indicate if the contributors list should be included. Values are true
+<!-- Indicate if the contributors list should be included. Values are true
or false. -->
<property name="projectInfo.changes.includeContributorList" value="true"/>
<property name="projectInfo.svn.ext" value=".svn.xml"/>
<property name="projectInfo.svn.path-prefix" value="src/documentation/content/svn-log/myProject-"/>
-
- <!-- Indicate the rss flow language. Values are locale like : en-us, fr-fr, ... -->
+<!-- Indicate the rss flow language. Values are locale like : en-us, fr-fr, ... -->
<property name="projectInfo.rss.language" value="en-us"/>
</properties>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/doap-forrest.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/doap-forrest.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/doap-forrest.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/doap-forrest.xml Mon Apr 9 17:20:08 2007
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- DOAP file for Apache Forrest -->
-
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -24,38 +23,30 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:asfext="http://projects.apache.org/ns/asfext#"
>
-
<title type="text">Apache Forrest</title>
<author>
<name>Apache Forrest</name>
<uri>http://forrest.apache.org</uri>
</author>
-
<updated>2005-08-09T23:06:00Z</updated>
- <id>tag:apache.org:forrest</id>
-
- <link
+ <id>tag:apache.org:forrest</id><link
rel="alternate"
type="text/html"
hreflang="en"
href="http://forrest.apache.org"/>
-
<entry>
<title>Apache Forrest 0.7</title>
<id>tag:apache.org:forrest:0.7</id>
<updated>2005-08-09T23:06:00Z</updated>
-
<content type="application/rdf+xml">
<doap:Project>
<doap:name>Apache Forrest</doap:name>
<doap:homepage rdf:resource="http://forrest.apache.org"/>
<asfext:pmc rdf:resource="http://forrest.apache.org" />
<doap:created>2005-06-23</doap:created>
-
<doap:shortdesc xml:lang="en">
Aggregated multi-channel documentation framework, separation of concerns.
</doap:shortdesc>
-
<doap:description xml:lang="en">
Apache Forrest is a publishing framework that transforms input from various
sources into a unified presentation in one or more output formats. The
@@ -64,7 +55,6 @@
generate static documents, or be used as a dynamic server, or be deployed by
its automated facility.
</doap:description>
-
<doap:programming-language xml:lang="en">Java</doap:programming-language>
<doap:programming-language xml:lang="en">XML</doap:programming-language>
<doap:category rdf:resource="http://projects.apache.org/category/build-management"/>
@@ -75,25 +65,19 @@
<doap:category rdf:resource="http://projects.apache.org/category/network-server"/>
<doap:category rdf:resource="http://projects.apache.org/category/web-framework"/>
<doap:category rdf:resource="http://projects.apache.org/category/xml"/>
-
<doap:license rdf:resource="http://forrest.apache.org/license.html"/>
-
<doap:download-page
rdf:resource="http://forrest.apache.org/mirrors.cgi"/>
-
<doap:bug-database
rdf:resource="http://forrest.apache.org/issues.html"/>
-
<doap:mailing-list
rdf:resource="http://forrest.apache.org/mail-lists.html"/>
-
<doap:repository>
<doap:SVNRepository>
<doap:browse rdf:resource="http://svn.apache.org/viewvc/forrest/"/>
<doap:location rdf:resource="http://svn.apache.org/repos/asf/forrest/trunk/"/>
</doap:SVNRepository>
</doap:repository>
-
<doap:maintainer>
<foaf:Person>
<foaf:name>The Apache Forrest Project</foaf:name>
@@ -101,7 +85,6 @@
<foaf:mbox rdf:resource="mailto:dev@forrest.apache.org"/>
</foaf:Person>
</doap:maintainer>
-
<doap:release>
<doap:Version>
<doap:name>Latest stable release</doap:name>
@@ -111,5 +94,5 @@
</doap:release>
</doap:Project>
</content>
- </entry>
+ </entry>
</feed>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/forrest.properties.xml Mon Apr 9 17:20:08 2007
@@ -16,21 +16,17 @@
limitations under the License.
-->
<properties>
- <!-- The names of plugins that are required to build the project
+<!-- The names of plugins that are required to build the project
comma separated list (no spaces)
Run "forrest available-plugins" for a list of plug-ins currently available -->
-
- <!-- This is an in development, undocumented feature. You must still provide this information
+<!-- This is an in development, undocumented feature. You must still provide this information
in forrest.properties until further notice - ony use this property if you know why you
need to -->
<property name="project.required.plugins"
value="org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf"/>
-
- <!-- pluginInfo property overrides -->
-
- <!-- Indicate if the committers list should be included. Values are true
+<!-- pluginInfo property overrides -->
+<!-- Indicate if the committers list should be included. Values are true
or false. -->
<property name="projectInfo.changes.includeCommitterList" value="false"/>
-
<property name="projectInfo.svn.ext" value=".svn.xml"/>
</properties>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap Mon Apr 9 17:20:08 2007
@@ -31,12 +31,9 @@
<cache-at-startup>true</cache-at-startup>
</map:transformer>
</map:transformers>
-
</map:components>
-
<map:pipelines>
<map:pipeline>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)changes.xml$">
<map:generate type="file" src="{lm:project.status}" />
<map:transform src="{lm:projectInfo.transform.changes.document}" >
@@ -51,7 +48,6 @@
</map:transform>
<map:serialize type="xml-document"/>
</map:match>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)changes_(.*).xml$">
<map:generate type="file" src="{lm:project.status}" />
<map:transform src="{lm:projectInfo.transform.changes.document}" >
@@ -66,15 +62,13 @@
</map:transform>
<map:serialize type="xml-document"/>
</map:match>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)todo.xml$">
<map:generate type="file" src="{lm:project.status}" />
<map:transform src="{lm:projectInfo.transform.todo.document}" />
<map:serialize type="xml-document"/>
</map:match>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)releaseNotes_(.*).xml$">
- <map:aggregate element="agg">
+ <map:aggregate element="agg">
<map:part src="cocoon://skinconf.xml"/>
<map:part src="{lm:project.status}"/>
</map:aggregate>
@@ -87,7 +81,6 @@
</map:transform>
<map:serialize type="xml-document"/>
</map:match>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)releaseSummary.xml$">
<map:generate type="file" src="{lm:{0}}" />
<map:transform src="{lm:projectInfo.transform.releaseNotes.document}">
@@ -95,11 +88,9 @@
</map:transform>
<map:serialize type="xml-document"/>
</map:match>
-
- <!-- =============================================================== -->
- <!-- Use Case Pipelines -->
- <!-- =============================================================== -->
-
+<!-- =============================================================== -->
+<!-- Use Case Pipelines -->
+<!-- =============================================================== -->
<map:match pattern="docs/**/useCases/all.source.xml">
<map:generate type="directory" src="{lm:project.useCases.dir}">
<map:parameter name="include" value=".*.xml$"/>
@@ -108,12 +99,10 @@
<map:transform type="cinclude"/>
<map:serialize type="xml"/>
</map:match>
-
<map:match pattern="docs/**/useCases/**.source.xml">
<map:generate type="file" src="{lm:project.useCases.{2}}" />
<map:serialize type="xml"/>
</map:match>
-
<map:match pattern="docs/user/useCases/**.xml">
<map:generate src="cocoon:/docs/user/useCases/{1}.source.xml" />
<map:transform src="{lm:projectInfo.transform.useCase.document}">
@@ -121,17 +110,14 @@
</map:transform>
<map:serialize type="xml-document"/>
</map:match>
-
<map:match pattern="docs/developer/useCases/**.xml">
<map:generate src="cocoon:/docs/developer/useCases/{1}.source.xml" />
<map:transform src="{lm:projectInfo.transform.useCase.document}"/>
<map:serialize type="xml-document"/>
</map:match>
-
</map:pipeline>
-
<map:pipeline>
- <!-- svnHelper -->
+<!-- svnHelper -->
<map:mount uri-prefix="" src="svnHelper.xmap" check-reload="yes"
pass-through="true" />
</map:pipeline>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml Mon Apr 9 17:20:08 2007
@@ -15,11 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<!-- Default Forrest locationmap -->
-
<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
-
<components>
<matchers default="lm">
<matcher
@@ -27,38 +24,31 @@
src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
</matchers>
<selectors default="exists">
- <selector name="exists" logger="sitemap.selector.exists"
+ <selector name="exists" logger="sitemap.selector.exists"
src="org.apache.forrest.sourceexists.SourceExistsSelector" />
</selectors>
</components>
-
<locator>
<match pattern="project.status">
<location src="{properties:status}" />
- </match>
-
+ </match>
<match pattern="project.useCases.dir">
<location src="{properties:content}/useCases" />
- </match>
-
+ </match>
<match pattern="project.useCases.**">
<location src="{properties:content}/useCases/{1}.xml" />
- </match>
-
+ </match>
<match pattern="projectInfo.transform.*.*">
<location src="resources/stylesheets/{1}-to-{2}.xsl"/>
- </match>
-
+ </match>
<match pattern="project.svn.url">
<location src="http://svn.myHost.org/repos" />
- </match>
-
+ </match>
<match pattern="projectInfo.svn.log.dir">
<location src="{properties:content}svn-log/" />
- </match>
-
+ </match>
<match pattern="projectInfo.svn.mapper">
<location src="{properties:content}path-to-context.xml" />
- </match>
+ </match>
</locator>
</locationmap>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources.xmap?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources.xmap Mon Apr 9 17:20:08 2007
@@ -25,10 +25,8 @@
</map:serializer>
</map:serializers>
</map:components>
-
<map:pipelines>
<map:pipeline>
-
<map:match pattern="**changes.rss">
<map:aggregate element="agg">
<map:part src="cocoon://skinconf.xml"/>
@@ -37,7 +35,6 @@
<map:transform src="{lm:projectInfo.transform.changes.rss}"/>
<map:serialize type="rss091" />
</map:match>
-
<map:match type="regexp" pattern="^(.*?)([^/]*)changes_(.*).rss$">
<map:aggregate element="agg">
<map:part src="cocoon://skinconf.xml"/>
@@ -48,7 +45,6 @@
</map:transform>
<map:serialize type="rss091" />
</map:match>
-
</map:pipeline>
</map:pipelines>
</map:sitemap>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl Mon Apr 9 17:20:08 2007
@@ -15,245 +15,244 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
version="1.0">
-
<xsl:param name="path"/>
<xsl:param name="versionNumber"/>
<xsl:param name="projectInfo.changes.sort"/>
<xsl:param name="projectInfo.changes.includeCommitterList"/>
<xsl:param name="projectInfo.changes.includeContributorList"/>
-
<xsl:include href="lm://transform.xml.dotdots"/>
-
- <!-- Calculate path to site root, eg '../../' -->
+<!-- Calculate path to site root, eg '../../' -->
<xsl:variable name="root">
<xsl:call-template name="dotdots">
<xsl:with-param name="path" select="$path"/>
</xsl:call-template>
</xsl:variable>
-
- <xsl:variable name="bugzilla" select="'http://issues.apache.org/bugzilla/buglist.cgi?bug_id='"/>
- <xsl:param name="bugtracking-url" select="$bugzilla"/>
-
- <xsl:key name="contexts" match="changes/release/action" use="concat(../@version, '_', @context)"/>
- <xsl:key name="types" match="changes/release/action" use="@type"/>
- <xsl:key name="committers" match="developers/person" use="@id"/>
- <xsl:key name="distinct-committer" match="changes/release/action" use="concat(../@version, '_', @dev)"/>
- <xsl:key name="distinct-contributor" match="changes/release/action" use="concat(../@version, '_', @due-to)"/>
-
- <xsl:template match="/">
- <xsl:apply-templates select="//changes"/>
- </xsl:template>
-
- <xsl:template match="changes">
- <document>
- <header>
- <title>
- <xsl:choose>
- <xsl:when test="@title!=''">
- <xsl:value-of select="@title"/>
- </xsl:when>
- <xsl:otherwise>
- <i18n:text i18n:key="title">History of Changes</i18n:text><xsl:text> </xsl:text><xsl:value-of select="$versionNumber"/>
- </xsl:otherwise>
- </xsl:choose>
- </title>
- </header>
- <body>
-
- <p><link href="changes.rss"><img src="{$root}images/rss.png" alt="RSS"/></link></p>
- <section id="introduction">
- <title><i18n:text i18n:key="introduction">Introduction and explanation of symbols</i18n:text></title>
- <p><i18n:text i18n:key="intro_s1_begin">Changes are sorted</i18n:text>
- <xsl:text> </xsl:text>
- <xsl:if test="$projectInfo.changes.sort!='none'">
- <i18n:translate>
- <i18n:text i18n:key="intro_s1_bythen">by "{0}" and then</i18n:text>
- <i18n:param><i18n:text><xsl:value-of select="$projectInfo.changes.sort"/></i18n:text></i18n:param>
- </i18n:translate>
- <xsl:text> </xsl:text>
- </xsl:if>
- <i18n:text i18n:key="intro_s1_end">chronologically with the most recent at the top.</i18n:text>
- <xsl:text> </xsl:text>
- <i18n:text i18n:key="intro_s2_begin">These symbols denote the various action types:</i18n:text>
- <xsl:for-each select="//release/action[generate-id()=generate-id(key('types', @type))]">
- <xsl:sort select="@type"/>
- <icon src="{$root}images/{@type}.jpg" alt="{@type}"/>
- <xsl:text>=</xsl:text>
- <i18n:text><xsl:value-of select="@type"/></i18n:text>
- <xsl:if test="not(position()=last())">
- <xsl:text>, </xsl:text>
- </xsl:if>
- </xsl:for-each>
- </p>
- </section>
- <xsl:choose>
- <xsl:when test="$versionNumber">
+ <xsl:variable name="bugzilla" select="'http://issues.apache.org/bugzilla/buglist.cgi?bug_id='"/>
+ <xsl:param name="bugtracking-url" select="$bugzilla"/>
+ <xsl:key name="contexts" match="changes/release/action" use="concat(../@version, '_', @context)"/>
+ <xsl:key name="types" match="changes/release/action" use="@type"/>
+ <xsl:key name="committers" match="developers/person" use="@id"/>
+ <xsl:key name="distinct-committer" match="changes/release/action" use="concat(../@version, '_', @dev)"/>
+ <xsl:key name="distinct-contributor" match="changes/release/action" use="concat(../@version, '_', @due-to)"/>
+ <xsl:template match="/">
+ <xsl:apply-templates select="//changes"/>
+ </xsl:template>
+ <xsl:template match="changes">
+ <document>
+ <header>
+ <title><xsl:choose>
+ <xsl:when test="@title!=''">
+ <xsl:value-of select="@title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i18n:text i18n:key="title">History of Changes</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:value-of select="$versionNumber"/>
+ </xsl:otherwise>
+ </xsl:choose></title>
+ </header>
+ <body>
+ <p>
+ <link href="changes.rss">
+ <img src="{$root}images/rss.png" alt="RSS"/>
+ </link>
+ </p>
+ <section id="introduction">
+ <title><i18n:text i18n:key="introduction">Introduction and explanation of symbols</i18n:text></title>
+ <p>
+ <i18n:text i18n:key="intro_s1_begin">Changes are sorted</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:if test="$projectInfo.changes.sort!='none'">
+ <i18n:translate>
+ <i18n:text i18n:key="intro_s1_bythen">by "{0}" and then</i18n:text>
+ <i18n:param>
+ <i18n:text>
+ <xsl:value-of select="$projectInfo.changes.sort"/>
+ </i18n:text>
+ </i18n:param>
+ </i18n:translate>
+<xsl:text> </xsl:text>
+ </xsl:if>
+ <i18n:text i18n:key="intro_s1_end">chronologically with the most recent at the top.</i18n:text>
+<xsl:text> </xsl:text>
+ <i18n:text i18n:key="intro_s2_begin">These symbols denote the various action types:</i18n:text>
+ <xsl:for-each select="//release/action[generate-id()=generate-id(key('types', @type))]">
+ <xsl:sort select="@type"/>
+ <icon src="{$root}images/{@type}.jpg" alt="{@type}"/>
+<xsl:text>=</xsl:text>
+ <i18n:text>
+ <xsl:value-of select="@type"/>
+ </i18n:text>
+ <xsl:if test="not(position()=last())">
+<xsl:text>, </xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ </p>
+ </section>
<xsl:choose>
- <xsl:when test="$versionNumber='current'">
- <xsl:apply-templates select="//release[1]"/>
+ <xsl:when test="$versionNumber">
+ <xsl:choose>
+ <xsl:when test="$versionNumber='current'">
+ <xsl:apply-templates select="//release[1]"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="//release[@version=$versionNumber]"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates select="//release[@version=$versionNumber]"/>
+ <xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="$projectInfo.changes.includeCommitterList = 'true' and //developers">
- <section id="all-committers">
- <title><i18n:text i18n:key="committers">All Committers</i18n:text></title>
- <p><i18n:text i18n:key="committers_s1">This is a list of all people who have ever participated
- as committers on this project.</i18n:text></p>
- <ul>
- <xsl:for-each select="//developers/person">
- <li><xsl:value-of select="@name"/> (<xsl:value-of select="@id"/>)</li>
- </xsl:for-each>
- </ul>
- </section>
- </xsl:if>
- </body>
- </document>
- </xsl:template>
-
- <xsl:template match="release">
- <section id="version_{@version}">
- <title><i18n:text i18n:key="version">Version</i18n:text>
- <xsl:text> </xsl:text>
- <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>
- <xsl:apply-templates select="introduction"/>
-
- <xsl:for-each select="action[generate-id()=generate-id(key('contexts',concat(../@version, '_', @context)))]">
- <xsl:sort select="@context"/>
- <xsl:variable name="context" select="@context"/>
- <xsl:variable name="title">
- <xsl:choose>
- <xsl:when test="//contexts/context[@id=$context]">
- <xsl:value-of select="//contexts/context[@id=$context]/@title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@context"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
-
- <xsl:choose>
- <xsl:when test="$title != ''">
- <section>
- <title><xsl:value-of select="$title"/></title>
- <ul>
+ <xsl:if test="$projectInfo.changes.includeCommitterList = 'true' and //developers">
+ <section id="all-committers">
+ <title><i18n:text i18n:key="committers">All Committers</i18n:text></title>
+ <p>
+ <i18n:text i18n:key="committers_s1">This is a list of all people who have ever participated
+ as committers on this project.</i18n:text>
+ </p>
+ <ul>
+ <xsl:for-each select="//developers/person">
+ <li><xsl:value-of select="@name"/> (<xsl:value-of select="@id"/>)</li>
+ </xsl:for-each>
+ </ul>
+ </section>
+ </xsl:if>
+ </body>
+ </document>
+ </xsl:template>
+ <xsl:template match="release">
+ <section id="version_{@version}">
+ <title><i18n:text i18n:key="version">Version</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>
+ <xsl:apply-templates select="introduction"/>
+ <xsl:for-each select="action[generate-id()=generate-id(key('contexts',concat(../@version, '_', @context)))]">
+ <xsl:sort select="@context"/>
+ <xsl:variable name="context" select="@context"/>
+ <xsl:variable name="title">
+ <xsl:choose>
+ <xsl:when test="//contexts/context[@id=$context]">
+ <xsl:value-of select="//contexts/context[@id=$context]/@title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@context"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
<xsl:choose>
- <xsl:when test="contains($projectInfo.changes.sort, 'type')">
- <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )">
- <xsl:sort select="@type"/>
- </xsl:apply-templates>
+ <xsl:when test="$title != ''">
+ <section>
+ <title><xsl:value-of select="$title"/></title>
+ <ul>
+ <xsl:choose>
+ <xsl:when test="contains($projectInfo.changes.sort, 'type')">
+ <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )">
+ <xsl:sort select="@type"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </ul>
+ </section>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )"/>
+ <ul>
+ <xsl:choose>
+ <xsl:when test="contains($projectInfo.changes.sort, 'type')">
+ <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )">
+ <xsl:sort select="@type"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </ul>
</xsl:otherwise>
</xsl:choose>
- </ul>
- </section>
- </xsl:when>
- <xsl:otherwise>
- <ul>
- <xsl:choose>
- <xsl:when test="contains($projectInfo.changes.sort, 'type')">
- <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )">
- <xsl:sort select="@type"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="key('contexts',concat(../@version, '_', @context) )"/>
- </xsl:otherwise>
- </xsl:choose>
- </ul>
- </xsl:otherwise>
- </xsl:choose>
-
- </xsl:for-each>
-
- <xsl:if test="$projectInfo.changes.includeContributorList = 'true'">
- <section>
- <title><i18n:text i18n:key="release_committers">Contributors to this release</i18n:text></title>
- <p><i18n:text i18n:key="release_committers_s1">We thank the following people for their contributions to this release.</i18n:text></p>
- <p><i18n:text i18n:key="release_committers_s2">This is a list of all people who participated as committers:</i18n:text><br/>
- <xsl:for-each select="action[generate-id()=generate-id(key('distinct-committer', concat(../@version, '_', @dev)))]">
- <xsl:sort select="@dev"/>
- <xsl:value-of select="key('committers', @dev)/@name"/>
- <xsl:text> (</xsl:text>
- <xsl:value-of select="@dev"/>
- <xsl:text>)</xsl:text>
- <xsl:if test="not(position()=last())">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:if test="position()=last()">
- <xsl:text>.</xsl:text>
- </xsl:if>
- </xsl:for-each>
- </p>
- <xsl:if test="action[@due-to]">
- <p><i18n:text i18n:key="release_committers_s3">This is a list of other contributors:</i18n:text><br/>
- <xsl:for-each select="action[generate-id()=generate-id(key('distinct-contributor', concat(../@version, '_', @due-to)))]">
- <xsl:sort select="@due-to"/>
- <xsl:value-of select="@due-to"/>
- <!-- FIXME: There must be an extra node here from the entries
+ </xsl:for-each>
+ <xsl:if test="$projectInfo.changes.includeContributorList = 'true'">
+ <section>
+ <title><i18n:text i18n:key="release_committers">Contributors to this release</i18n:text></title>
+ <p>
+ <i18n:text i18n:key="release_committers_s1">We thank the following people for their contributions to this release.</i18n:text>
+ </p>
+ <p>
+ <i18n:text i18n:key="release_committers_s2">This is a list of all people who participated as committers:</i18n:text>
+ <br/>
+ <xsl:for-each select="action[generate-id()=generate-id(key('distinct-committer', concat(../@version, '_', @dev)))]">
+ <xsl:sort select="@dev"/>
+ <xsl:value-of select="key('committers', @dev)/@name"/>
+<xsl:text> (</xsl:text>
+ <xsl:value-of select="@dev"/>
+<xsl:text>)</xsl:text>
+ <xsl:if test="not(position()=last())">
+<xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:if test="position()=last()">
+<xsl:text>.</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ </p>
+ <xsl:if test="action[@due-to]">
+ <p>
+ <i18n:text i18n:key="release_committers_s3">This is a list of other contributors:</i18n:text>
+ <br/>
+ <xsl:for-each select="action[generate-id()=generate-id(key('distinct-contributor', concat(../@version, '_', @due-to)))]">
+ <xsl:sort select="@due-to"/>
+ <xsl:value-of select="@due-to"/>
+<!-- FIXME: There must be an extra node here from the entries
that do not have @due-to. Workaround is to skip position #1 -->
- <xsl:if test="not(position()=1) and not(position()=last())">
- <xsl:text>, </xsl:text>
- </xsl:if>
- <xsl:if test="position()=last()">
- <xsl:text>.</xsl:text>
- </xsl:if>
- </xsl:for-each>
- </p>
- </xsl:if>
- </section>
- </xsl:if>
- </section>
- </xsl:template>
-
- <xsl:template match="action">
- <li>
- <icon src="{$root}images/{@type}.jpg" alt="{@type}"/>
- <xsl:apply-templates/>
- <xsl:text> </xsl:text>
- <i18n:text i18n:key="committedby">Committed by</i18n:text>
- <xsl:text> </xsl:text>
- <xsl:value-of select="@dev"/>
- <xsl:text>.</xsl:text>
-
- <xsl:if test="@due-to and @due-to!=''">
- <xsl:text> </xsl:text>
- <i18n:text i18n:key="thanksto">Thanks to</i18n:text>
- <xsl:text> </xsl:text>
- <xsl:choose>
- <xsl:when test="@due-to-email and @due-to-email!=''">
- <link href="mailto:{@due-to-email}">
- <xsl:value-of select="@due-to"/>
- </link>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@due-to"/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:text>.</xsl:text>
- </xsl:if>
-
- <xsl:if test="@fixes-bug">
- <xsl:text> </xsl:text>
- <i18n:text i18n:key="seeissue">See Issue</i18n:text>
- <xsl:text> </xsl:text>
- <xsl:call-template name="print-bugs">
- <xsl:with-param name="buglist" select="translate(normalize-space(@fixes-bug),' ','')"/>
- </xsl:call-template>
- <!--
+ <xsl:if test="not(position()=1) and not(position()=last())">
+<xsl:text>, </xsl:text>
+ </xsl:if>
+ <xsl:if test="position()=last()">
+<xsl:text>.</xsl:text>
+ </xsl:if>
+ </xsl:for-each>
+ </p>
+ </xsl:if>
+ </section>
+ </xsl:if>
+ </section>
+ </xsl:template>
+ <xsl:template match="action">
+ <li><icon src="{$root}images/{@type}.jpg" alt="{@type}"/>
+ <xsl:apply-templates/>
+<xsl:text> </xsl:text>
+ <i18n:text i18n:key="committedby">Committed by</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:value-of select="@dev"/>
+<xsl:text>.</xsl:text>
+ <xsl:if test="@due-to and @due-to!=''">
+<xsl:text> </xsl:text>
+ <i18n:text i18n:key="thanksto">Thanks to</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:choose>
+ <xsl:when test="@due-to-email and @due-to-email!=''"><link href="mailto:{@due-to-email}">
+ <xsl:value-of select="@due-to"/></link>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@due-to"/>
+ </xsl:otherwise>
+ </xsl:choose>
+<xsl:text>.</xsl:text>
+ </xsl:if>
+ <xsl:if test="@fixes-bug">
+<xsl:text> </xsl:text>
+ <i18n:text i18n:key="seeissue">See Issue</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:call-template name="print-bugs">
+ <xsl:with-param name="buglist" select="translate(normalize-space(@fixes-bug),' ','')"/>
+ </xsl:call-template>
+<!--
<xsl:choose>
<xsl:when test="contains(@fixes-bug, ',')">
<!-<link href="{$bugtracking-url}{translate(normalize-space(@fixes-bug),' ','')}">->
@@ -268,39 +267,32 @@
</xsl:otherwise>
</xsl:choose>
-->
- <xsl:text>.</xsl:text>
- </xsl:if>
- </li>
- </xsl:template>
-
- <!-- Print each bug id in a comma-separated list -->
- <xsl:template name="print-bugs">
- <xsl:param name="buglist"/>
- <xsl:choose>
- <xsl:when test="contains($buglist, ',')">
- <xsl:variable name="current" select="substring-before($buglist, ',')"/>
- <link href="{concat($bugtracking-url, $current)}">
- <xsl:value-of select="$current"/>
- </link>
- <xsl:text>, </xsl:text>
- <xsl:call-template name="print-bugs">
- <xsl:with-param name="buglist" select="substring-after($buglist, ',')"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:otherwise>
- <link href="{concat($bugtracking-url, $buglist)}"><xsl:value-of select="$buglist"/></link>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
- <xsl:template match="introduction">
- <xsl:apply-templates/>
- </xsl:template>
-
+<xsl:text>.</xsl:text>
+ </xsl:if></li>
+ </xsl:template>
+<!-- Print each bug id in a comma-separated list -->
+ <xsl:template name="print-bugs">
+ <xsl:param name="buglist"/>
+ <xsl:choose>
+ <xsl:when test="contains($buglist, ',')">
+ <xsl:variable name="current" select="substring-before($buglist, ',')"/><link href="{concat($bugtracking-url, $current)}">
+ <xsl:value-of select="$current"/></link>
+<xsl:text>, </xsl:text>
+ <xsl:call-template name="print-bugs">
+ <xsl:with-param name="buglist" select="substring-after($buglist, ',')"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise><link href="{concat($bugtracking-url, $buglist)}">
+ <xsl:value-of select="$buglist"/></link>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+ <xsl:template match="introduction">
+ <xsl:apply-templates/>
+ </xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()|comment()">
<xsl:copy>
<xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
</xsl:copy>
</xsl:template>
-
</xsl:stylesheet>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-rss.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-rss.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-rss.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-rss.xsl Mon Apr 9 17:20:08 2007
@@ -16,14 +16,10 @@
limitations under the License.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
<xsl:param name="versionNumber"/>
-
<xsl:variable name="changes-url"
select="concat(../skinconfig/project-url, 'changes.html')"/>
-
<xsl:template match="status">
-
<rss version="0.91">
<channel>
<xsl:choose>
@@ -36,25 +32,35 @@
<xsl:otherwise>
<title><xsl:value-of select="../skinconfig/project-name"/> (<xsl:value-of select="//release[1]/@version"/>) Changes</title>
</xsl:otherwise>
- </xsl:choose>
-
- <link><xsl:value-of select="$changes-url"/></link>
-
-
+ </xsl:choose><link>
+ <xsl:value-of select="$changes-url"/></link>
<xsl:choose>
<xsl:when test="$versionNumber = 'current'">
- <description><xsl:value-of select="../skinconfig/project-name"/> (<xsl:value-of select="//release[1]/@version"/>) Changes</description>
+ <description>
+ <xsl:value-of select="../skinconfig/project-name"/>
+ (
+ <xsl:value-of select="//release[1]/@version"/>
+ ) Changes
+ </description>
</xsl:when>
<xsl:when test="$versionNumber">
- <description><xsl:value-of select="../skinconfig/project-name"/> (<xsl:value-of select="$versionNumber"/>) Changes</description>
+ <description>
+ <xsl:value-of select="../skinconfig/project-name"/>
+ (
+ <xsl:value-of select="$versionNumber"/>
+ ) Changes
+ </description>
</xsl:when>
<xsl:otherwise>
- <description><xsl:value-of select="../skinconfig/project-name"/> (<xsl:value-of select="//release[1]/@version"/>) Changes</description>
+ <description>
+ <xsl:value-of select="../skinconfig/project-name"/>
+ (
+ <xsl:value-of select="//release[1]/@version"/>
+ ) Changes
+ </description>
</xsl:otherwise>
</xsl:choose>
-
<language>en-us</language>
-
<xsl:choose>
<xsl:when test="$versionNumber">
<xsl:choose>
@@ -73,30 +79,22 @@
<xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
-
<xsl:apply-templates select="changes/release[1]/action"/>
</channel>
</rss>
</xsl:template>
-
<xsl:template match="action">
<item>
- <title>
- <xsl:value-of select="@context" />
- <xsl:text> </xsl:text>
+ <title><xsl:value-of select="@context" />
+<xsl:text> </xsl:text>
<xsl:value-of select="@type" />
-
<xsl:if test="@fixes-bug">
(bug <xsl:value-of select="@fixes-bug" />)
- </xsl:if>
-
- </title>
-
- <link><xsl:value-of select="$changes-url"/></link>
-
+ </xsl:if></title><link>
+ <xsl:value-of select="$changes-url"/></link>
<description>
<xsl:value-of select="@context" />
- <xsl:text> </xsl:text>
+<xsl:text> </xsl:text>
<xsl:value-of select="@type" />
by
<xsl:value-of select="@dev" />
@@ -109,9 +107,7 @@
</description>
</item>
</xsl:template>
-
<xsl:template match="skinconfig"/>
<xsl:template match="notes"/>
<xsl:template match="todo"/>
</xsl:stylesheet>
-
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/directory-to-useCases.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/directory-to-useCases.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/directory-to-useCases.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/directory-to-useCases.xsl Mon Apr 9 17:20:08 2007
@@ -21,23 +21,24 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:resume="http://xmlresume.sourceforge.net/resume/0.0"
xmlns:cinclude="http://apache.org/cocoon/include/1.0">
-
<xsl:template match="dir:directory">
<useCaseAggregate>
<xsl:apply-templates select="dir:file"/>
</useCaseAggregate>
</xsl:template>
-
<xsl:template match="dir:file">
<xsl:variable name="name" select="substring-before(@name,'.xml')"/>
<file>
- <xsl:attribute name="filename"><xsl:value-of select="$name"/></xsl:attribute>
+ <xsl:attribute name="filename">
+ <xsl:value-of select="$name"/>
+ </xsl:attribute>
<cinclude:include>
- <xsl:attribute name="src"><xsl:value-of select="concat('cocoon:/docs/agregate/useCases/',$name, '.source.xml')"/></xsl:attribute>
+ <xsl:attribute name="src">
+ <xsl:value-of select="concat('cocoon:/docs/agregate/useCases/',$name, '.source.xml')"/>
+ </xsl:attribute>
</cinclude:include>
</file>
- </xsl:template>
-
+ </xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()|comment()">
<xsl:copy>
<xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/first-last-revision.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/first-last-revision.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/first-last-revision.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/first-last-revision.xsl Mon Apr 9 17:20:08 2007
@@ -17,7 +17,7 @@
-->
<!-- $Id$ -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-<xsl:template match="/">
+ <xsl:template match="/">
<log>
<xsl:apply-templates/>
</log>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes-to-document.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/releaseNotes-to-document.xsl Mon Apr 9 17:20:08 2007
@@ -15,19 +15,15 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"
version="1.0">
-
<xsl:param name="versionNumber"/>
<xsl:include href="changes-to-document.xsl"/>
-
- <!-- Key to retrieve important Actions (@important='high') of the selected version sorted by context... -->
+<!-- Key to retrieve important Actions (@important='high') of the selected version sorted by context... -->
<xsl:key name="ActionByVersionByContextByImportance" match="changes/release/action" use="concat(../@version, '_', @context, '_', @importance)"/>
-
- <!-- versionNumber: detect the value "current" or use the number that was supplied -->
+<!-- versionNumber: detect the value "current" or use the number that was supplied -->
<xsl:variable name="realVersionNumber">
<xsl:choose>
<xsl:when test="$versionNumber='current'">
@@ -41,79 +37,87 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
-
- <xsl:template match="changes">
- <document>
- <header>
- <title>
- <xsl:choose>
- <xsl:when test="@title!=''">
- <xsl:value-of select="@title"/>
- </xsl:when>
- <xsl:otherwise>
- <i18n:translate>
- <i18n:text i18n:key="titleReleaseNotesFor">Release Notes for {0} {1}</i18n:text>
- <i18n:param><xsl:value-of select="../../skinconfig/project-name"/></i18n:param>
- <i18n:param><i18n:text><xsl:value-of select="$versionNumber"/></i18n:text></i18n:param>
- </i18n:translate>
- </xsl:otherwise>
- </xsl:choose>
- </title>
- </header>
- <body>
- <xsl:if test="contains($realVersionNumber, 'dev')">
- <warning>
- <i18n:translate>
- <i18n:text i18n:key="warningDevRelease">Version {0} is a development release,
+ <xsl:template match="changes">
+ <document>
+ <header>
+ <title><xsl:choose>
+ <xsl:when test="@title!=''">
+ <xsl:value-of select="@title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <i18n:translate>
+ <i18n:text i18n:key="titleReleaseNotesFor">Release Notes for {0} {1}</i18n:text>
+ <i18n:param>
+ <xsl:value-of select="../../skinconfig/project-name"/>
+ </i18n:param>
+ <i18n:param>
+ <i18n:text>
+ <xsl:value-of select="$versionNumber"/>
+ </i18n:text>
+ </i18n:param>
+ </i18n:translate>
+ </xsl:otherwise>
+ </xsl:choose></title>
+ </header>
+ <body>
+ <xsl:if test="contains($realVersionNumber, 'dev')">
+ <warning>
+ <i18n:translate>
+ <i18n:text i18n:key="warningDevRelease">Version {0} is a development release,
these notes are therefore not complete, they are intended to be an indicator
of the major features that are so far included in this version.</i18n:text>
- <i18n:param><i18n:text><xsl:value-of select="$realVersionNumber"/></i18n:text></i18n:param>
- </i18n:translate>
- </warning>
- </xsl:if>
-
- <xsl:apply-templates select="release[@version=$realVersionNumber]"/>
- </body>
- </document>
- </xsl:template>
-
- <xsl:template match="release">
- <xsl:apply-templates select="notes"/>
- <section id="version_{@version}">
- <title><i18n:text i18n:key="majorChanges">Major Changes in Version</i18n:text><xsl:text> </xsl:text><xsl:value-of select="@version"/></title>
- <note><i18n:text i18n:key="noteMajorChanges">This is not a complete list of changes, just some of the more important ones.
+ <i18n:param>
+ <i18n:text>
+ <xsl:value-of select="$realVersionNumber"/>
+ </i18n:text>
+ </i18n:param>
+ </i18n:translate>
+ </warning>
+ </xsl:if>
+ <xsl:apply-templates select="release[@version=$realVersionNumber]"/>
+ </body>
+ </document>
+ </xsl:template>
+ <xsl:template match="release">
+ <xsl:apply-templates select="notes"/>
+ <section id="version_{@version}">
+ <title><i18n:text i18n:key="majorChanges">Major Changes in Version</i18n:text>
+<xsl:text> </xsl:text>
+ <xsl:value-of select="@version"/></title>
+ <note>
+ <i18n:text i18n:key="noteMajorChanges">This is not a complete list of changes, just some of the more important ones.
A full list of changes in this release</i18n:text>
- <xsl:text> </xsl:text>
- <a href="changes_{$versionNumber}.html"><i18n:text i18n:key="isavailable">is available</i18n:text></a>.</note>
- <xsl:for-each select="action[generate-id()=generate-id(key('ActionByVersionByContextByImportance',concat(../@version, '_', @context, '_high')))]">
- <xsl:sort select="@context"/>
- <section>
- <xsl:variable name="context" select="@context"/>
- <title>
- <xsl:choose>
- <xsl:when test="//contexts/context[@id=$context]">
- <xsl:value-of select="//contexts/context[@id=$context]/@title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:value-of select="@context"/>
- </xsl:otherwise>
- </xsl:choose>
- </title>
- <ul>
- <xsl:choose>
- <xsl:when test="contains($projectInfo.changes.sort, 'type')">
- <xsl:apply-templates select="key('ActionByVersionByContextByImportance',concat(../@version, '_', @context, '_high') )">
- <xsl:sort select="@type"/>
- </xsl:apply-templates>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="key('ActionByVersionByContextByImportance',concat(../@version, '_', @context, '_high') )"/>
- </xsl:otherwise>
- </xsl:choose>
- </ul>
+<xsl:text> </xsl:text>
+ <a href="changes_{$versionNumber}.html">
+ <i18n:text i18n:key="isavailable">is available</i18n:text>
+ </a>.
+ </note>
+ <xsl:for-each select="action[generate-id()=generate-id(key('ActionByVersionByContextByImportance',concat(../@version, '_', @context, '_high')))]">
+ <xsl:sort select="@context"/>
+ <section>
+ <xsl:variable name="context" select="@context"/>
+ <title><xsl:choose>
+ <xsl:when test="//contexts/context[@id=$context]">
+ <xsl:value-of select="//contexts/context[@id=$context]/@title"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@context"/>
+ </xsl:otherwise>
+ </xsl:choose></title>
+ <ul>
+ <xsl:choose>
+ <xsl:when test="contains($projectInfo.changes.sort, 'type')">
+ <xsl:apply-templates select="key('ActionByVersionByContextByImportance',concat(../@version, '_', @context, '_high') )">
+ <xsl:sort select="@type"/>
+ </xsl:apply-templates>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="key('ActionByVersionByContextByImportance',concat(../@version, '_', @context, '_high') )"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </ul>
+ </section>
+ </xsl:for-each>
</section>
- </xsl:for-each>
- </section>
- </xsl:template>
-
+ </xsl:template>
</xsl:stylesheet>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-log.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-log.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-log.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-log.xsl Mon Apr 9 17:20:08 2007
@@ -25,6 +25,8 @@
<xsl:apply-templates/>
</shell>
</xsl:template>
- <xsl:template match="changes">svn log -r <xsl:value-of select="revision/@first"/>:<xsl:value-of select="revision/@last"/> --xml -v <xsl:value-of select="$url"/> > <xsl:value-of select="$path-prefix"/><xsl:value-of select="@release"/><xsl:value-of select="$ext"/>
-</xsl:template>
+ <xsl:template match="changes">svn log -r <xsl:value-of select="revision/@first"/>:<xsl:value-of select="revision/@last"/> --xml -v <xsl:value-of select="$url"/> > <xsl:value-of select="$path-prefix"/>
+ <xsl:value-of select="@release"/>
+ <xsl:value-of select="$ext"/>
+ </xsl:template>
</xsl:stylesheet>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-to-changes.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-to-changes.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-to-changes.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/svn-to-changes.xsl Mon Apr 9 17:20:08 2007
@@ -38,23 +38,43 @@
</changes>
</xsl:template>
<xsl:template match="logentry">
- <action> <xsl:attribute name="dev"><xsl:value-of
- select="author"/></xsl:attribute> <xsl:variable name="type"> <xsl:choose>
- <xsl:when test="contains(paths/path[1]/@action, 'A')">add</xsl:when>
- <xsl:when test="contains(paths/path[1]/@action, 'M')">update</xsl:when>
- <xsl:when test="contains(paths/path[1]/@action, 'R')">update</xsl:when>
- <xsl:when test="contains(paths/path[1]/@action, 'D')">remove</xsl:when>
- </xsl:choose> </xsl:variable> <xsl:attribute name="type"><xsl:value-of
- select="$type"/></xsl:attribute> <xsl:variable name="version">
- <xsl:call-template name="context"> <xsl:with-param name="path">
- <xsl:value-of select="paths/path[1]"/> </xsl:with-param>
- </xsl:call-template> </xsl:variable> <xsl:variable name="path">
- <xsl:value-of select="paths/path[1]"/> </xsl:variable> <xsl:attribute
- name="context"> <xsl:value-of select="$version"/>
+ <action>
+ <xsl:attribute name="dev">
+ <xsl:value-of
+ select="author"/>
+ </xsl:attribute>
+ <xsl:variable name="type">
+ <xsl:choose>
+ <xsl:when test="contains(paths/path[1]/@action, 'A')">add</xsl:when>
+ <xsl:when test="contains(paths/path[1]/@action, 'M')">update</xsl:when>
+ <xsl:when test="contains(paths/path[1]/@action, 'R')">update</xsl:when>
+ <xsl:when test="contains(paths/path[1]/@action, 'D')">remove</xsl:when>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:attribute name="type">
+ <xsl:value-of
+ select="$type"/>
+ </xsl:attribute>
+ <xsl:variable name="version">
+ <xsl:call-template name="context">
+ <xsl:with-param name="path">
+ <xsl:value-of select="paths/path[1]"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:variable name="path">
+ <xsl:value-of select="paths/path[1]"/>
+ </xsl:variable>
+ <xsl:attribute
+ name="context">
+ <xsl:value-of select="$version"/>
</xsl:attribute>[<xsl:value-of select="$version"/>] <xsl:value-of
- select="msg"/><xsl:text> </xsl:text><link
- href="http://svn.apache.org/viewcvs.cgi?rev={@revision}&view=rev">Diff</link><xsl:text>
- </xsl:text> </action>
+ select="msg"/>
+<xsl:text> </xsl:text><link
+ href="http://svn.apache.org/viewcvs.cgi?rev={@revision}&view=rev">Diff</link>
+<xsl:text>
+ </xsl:text>
+ </action>
</xsl:template>
<xsl:template name="context">
<xsl:param name="path"/>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/todo-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/todo-to-document.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/todo-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/todo-to-document.xsl Mon Apr 9 17:20:08 2007
@@ -15,54 +15,49 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-
- <xsl:template match="/">
- <xsl:apply-templates select="//todo"/>
- </xsl:template>
-
- <xsl:template match="todo">
- <document>
- <header>
- <title>
- <xsl:choose>
- <xsl:when test="@title!=''">
- <xsl:value-of select="@title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>Todo List</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </title>
- </header>
- <body>
- <xsl:apply-templates/>
- </body>
- </document>
- </xsl:template>
-
- <xsl:template match="actions">
- <section>
- <title><xsl:value-of select="@priority"/></title>
- <ul>
- <xsl:for-each select="action">
- <li>
- <strong><xsl:text>[</xsl:text><xsl:value-of select="@context"/><xsl:text>]</xsl:text></strong><xsl:text> </xsl:text>
- <xsl:apply-templates/>
- <xsl:text> </xsl:text>→<xsl:text> </xsl:text><xsl:value-of select="@dev"/>
- </li>
- </xsl:for-each>
- </ul>
- </section>
- </xsl:template>
-
+ <xsl:template match="/">
+ <xsl:apply-templates select="//todo"/>
+ </xsl:template>
+ <xsl:template match="todo">
+ <document>
+ <header>
+ <title><xsl:choose>
+ <xsl:when test="@title!=''">
+ <xsl:value-of select="@title"/>
+ </xsl:when>
+ <xsl:otherwise>
+<xsl:text>Todo List</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose></title>
+ </header>
+ <body>
+ <xsl:apply-templates/>
+ </body>
+ </document>
+ </xsl:template>
+ <xsl:template match="actions">
+ <section>
+ <title><xsl:value-of select="@priority"/></title>
+ <ul>
+ <xsl:for-each select="action">
+ <li><strong>
+<xsl:text>[</xsl:text>
+ <xsl:value-of select="@context"/>
+<xsl:text>]</xsl:text></strong>
+<xsl:text> </xsl:text>
+ <xsl:apply-templates/>
+<xsl:text> </xsl:text>→<xsl:text> </xsl:text>
+ <xsl:value-of select="@dev"/></li>
+ </xsl:for-each>
+ </ul>
+ </section>
+ </xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()|comment()">
<xsl:copy>
<xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
</xsl:copy>
</xsl:template>
-
</xsl:stylesheet>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/useCase-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/useCase-to-document.xsl?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/useCase-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/useCase-to-document.xsl Mon Apr 9 17:20:08 2007
@@ -15,163 +15,165 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
-
- <xsl:param name="includeImplementationNotes">true</xsl:param>
- <xsl:param name="includeStepsSummary">true</xsl:param>
-
- <xsl:template match="/">
- <document>
- <header>
- <title>
- <xsl:choose>
- <xsl:when test="title">
- <xsl:value-of select="title"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:text>Use Cases</xsl:text>
- </xsl:otherwise>
- </xsl:choose>
- </title>
- </header>
- <body>
- <xsl:apply-templates select="//useCases"/>
- </body>
- </document>
- </xsl:template>
-
- <xsl:template match="useCases">
- <section>
- <title><xsl:value-of select="title"/></title>
- <xsl:apply-templates select="useCase"/>
- </section>
- </xsl:template>
-
- <xsl:template match="useCase">
- <section>
- <xsl:apply-templates/>
- </section>
- </xsl:template>
-
- <xsl:template match="steps">
-
- <xsl:if test="$includeStepsSummary='true'">
- <section>
- <title>Summary</title>
- <ol class="steps">
- <xsl:apply-templates mode="stepIndex"/>
- </ol>
- </section>
- </xsl:if>
- <section>
- <title>Details</title>
- <table>
- <tr>
- <th>Step</th>
- <th>Description</th>
- <th>Result</th>
- <th>Status</th>
- </tr>
- <xsl:apply-templates mode="userDocs"/>
- </table>
- </section>
-
- <xsl:if test="$includeImplementationNotes='true'">
- <section>
- <title>Implementation Notes</title>
- <table>
- <tr>
- <th>Step</th>
- <th>Notes</th>
- </tr>
- <xsl:apply-templates mode="devDocs"/>
- </table>
- </section>
- </xsl:if>
- </xsl:template>
-
- <xsl:template match="step" mode="stepIndex">
- <li>
- <strong><xsl:value-of select="title"/></strong>
- <xsl:if test="@required='false'">
- <xsl:text> (Optional)</xsl:text>
- </xsl:if>
- </li>
- </xsl:template>
-
- <xsl:template match="step" mode="userDocs">
- <tr>
- <td>
- <xsl:number format="1.1.1.1.1.1.1" count="step" level="single"/><xsl:text>. </xsl:text><xsl:value-of select="title"/>
- <xsl:if test="@required='false'">
- <br/><xsl:text>(Optional)</xsl:text>
- </xsl:if>
- </td>
- <td><xsl:apply-templates select="description"/></td>
- <td><xsl:apply-templates select="result"/></td>
- <td>
- <xsl:choose>
- <xsl:when test="not(fixme)">Implemented</xsl:when>
- <xsl:when test="fixme[@priority='Blocker']"><warning>Not Implemented</warning></xsl:when>
- <xsl:otherwise>
+ <xsl:param name="includeImplementationNotes">true</xsl:param>
+ <xsl:param name="includeStepsSummary">true</xsl:param>
+ <xsl:template match="/">
+ <document>
+ <header>
+ <title><xsl:choose>
+ <xsl:when test="title">
+ <xsl:value-of select="title"/>
+ </xsl:when>
+ <xsl:otherwise>
+<xsl:text>Use Cases</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose></title>
+ </header>
+ <body>
+ <xsl:apply-templates select="//useCases"/>
+ </body>
+ </document>
+ </xsl:template>
+ <xsl:template match="useCases">
+ <section>
+ <title><xsl:value-of select="title"/></title>
+ <xsl:apply-templates select="useCase"/>
+ </section>
+ </xsl:template>
+ <xsl:template match="useCase">
+ <section>
+ <xsl:apply-templates/>
+ </section>
+ </xsl:template>
+ <xsl:template match="steps">
+ <xsl:if test="$includeStepsSummary='true'">
+ <section>
+ <title>Summary</title>
+ <ol class="steps">
+ <xsl:apply-templates mode="stepIndex"/>
+ </ol>
+ </section>
+ </xsl:if>
+ <section>
+ <title>Details</title>
+ <table>
+ <tr>
+ <th>Step</th>
+ <th>Description</th>
+ <th>Result</th>
+ <th>Status</th>
+ </tr>
+ <xsl:apply-templates mode="userDocs"/>
+ </table>
+ </section>
+ <xsl:if test="$includeImplementationNotes='true'">
+ <section>
+ <title>Implementation Notes</title>
+ <table>
+ <tr>
+ <th>Step</th>
+ <th>Notes</th>
+ </tr>
+ <xsl:apply-templates mode="devDocs"/>
+ </table>
+ </section>
+ </xsl:if>
+ </xsl:template>
+ <xsl:template match="step" mode="stepIndex">
+ <li><strong>
+ <xsl:value-of select="title"/></strong>
+ <xsl:if test="@required='false'">
+<xsl:text> (Optional)</xsl:text>
+ </xsl:if></li>
+ </xsl:template>
+ <xsl:template match="step" mode="userDocs">
+ <tr>
+ <td>
+ <xsl:number format="1.1.1.1.1.1.1" count="step" level="single"/>
+<xsl:text>. </xsl:text>
+ <xsl:value-of select="title"/>
+ <xsl:if test="@required='false'">
+ <br/>
+<xsl:text>(Optional)</xsl:text>
+ </xsl:if>
+ </td>
+ <td>
+ <xsl:apply-templates select="description"/>
+ </td>
+ <td>
+ <xsl:apply-templates select="result"/>
+ </td>
+ <td>
+ <xsl:choose>
+ <xsl:when test="not(fixme)">Implemented</xsl:when>
+ <xsl:when test="fixme[@priority='Blocker']">
+ <warning>
+ Not Implemented
+ </warning>
+ </xsl:when>
+ <xsl:otherwise>
Implemented with fixmes:-<br/>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:if test="fixme[@priority='Blocker']">
- Blockers: <xsl:value-of select="count(fixme[@priority='Blocker'])"/> <br/>
- </xsl:if>
- <xsl:if test="fixme[@priority='High']">
- High: <xsl:value-of select="count(fixme[@priority='High'])"/> <br/>
- </xsl:if>
- <xsl:if test="fixme[@priority='Low']">
- Low: <xsl:value-of select="count(fixme[@priority='Low'])"/> <br/>
- </xsl:if>
- <xsl:if test="fixme[@priority='Enhancements']">
- Enhancements: <xsl:value-of select="count(fixme[@priority='Enhancement'])"/> <br/>
- </xsl:if>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="step" mode="devDocs">
- <tr>
- <td><xsl:number format="1.1.1.1.1.1.1" count="step" level="single"/><xsl:text>. </xsl:text><xsl:value-of select="title"/></td>
- <td>
- <xsl:apply-templates select="implementation/description"/><br/>
- <xsl:apply-templates select="fixme[@priority='Blocker']"/>
- <xsl:apply-templates select="fixme[@priority='High']"/>
- <xsl:apply-templates select="fixme[@priority='Low']"/>
- <xsl:apply-templates select="fixme[@priority='Enhancement']"/>
- </td>
- </tr>
- </xsl:template>
-
- <xsl:template match="description">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="result">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="implementation">
- <xsl:apply-templates select="description"/>
- </xsl:template>
-
- <xsl:template match="fixme">
- <fixme>
- <xsl:attribute name="author"><xsl:value-of select="@priority"/></xsl:attribute>
- <xsl:value-of select="."/>
- </fixme>
- </xsl:template>
-
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="fixme[@priority='Blocker']">
+ Blockers: <xsl:value-of select="count(fixme[@priority='Blocker'])"/>
+ <br/>
+ </xsl:if>
+ <xsl:if test="fixme[@priority='High']">
+ High: <xsl:value-of select="count(fixme[@priority='High'])"/>
+ <br/>
+ </xsl:if>
+ <xsl:if test="fixme[@priority='Low']">
+ Low: <xsl:value-of select="count(fixme[@priority='Low'])"/>
+ <br/>
+ </xsl:if>
+ <xsl:if test="fixme[@priority='Enhancements']">
+ Enhancements: <xsl:value-of select="count(fixme[@priority='Enhancement'])"/>
+ <br/>
+ </xsl:if>
+ </td>
+ </tr>
+ </xsl:template>
+ <xsl:template match="step" mode="devDocs">
+ <tr>
+ <td>
+ <xsl:number format="1.1.1.1.1.1.1" count="step" level="single"/>
+<xsl:text>. </xsl:text>
+ <xsl:value-of select="title"/>
+ </td>
+ <td>
+ <xsl:apply-templates select="implementation/description"/>
+ <br/>
+ <xsl:apply-templates select="fixme[@priority='Blocker']"/>
+ <xsl:apply-templates select="fixme[@priority='High']"/>
+ <xsl:apply-templates select="fixme[@priority='Low']"/>
+ <xsl:apply-templates select="fixme[@priority='Enhancement']"/>
+ </td>
+ </tr>
+ </xsl:template>
+ <xsl:template match="description">
+ <xsl:apply-templates/>
+ </xsl:template>
+ <xsl:template match="result">
+ <xsl:apply-templates/>
+ </xsl:template>
+ <xsl:template match="implementation">
+ <xsl:apply-templates select="description"/>
+ </xsl:template>
+ <xsl:template match="fixme">
+ <fixme>
+ <xsl:attribute name="author">
+ <xsl:value-of select="@priority"/>
+ </xsl:attribute>
+ <xsl:value-of select="."/>
+ </fixme>
+ </xsl:template>
<xsl:template match="@*|*|text()|processing-instruction()|comment()">
<xsl:copy>
<xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
</xsl:copy>
</xsl:template>
-
</xsl:stylesheet>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/locationmap.xml Mon Apr 9 17:20:08 2007
@@ -15,11 +15,8 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
<!-- Default Forrest locationmap -->
-
<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">
-
<components>
<matchers default="lm">
<matcher
@@ -27,11 +24,10 @@
src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
</matchers>
<selectors default="exists">
- <selector name="exists" logger="sitemap.selector.exists"
+ <selector name="exists" logger="sitemap.selector.exists"
src="org.apache.forrest.sourceexists.SourceExistsSelector" />
</selectors>
</components>
-
<locator>
<match pattern="project.svn.url">
<location src="http://svn.apache.org/repos/asf/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo" />
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/path-to-context.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/path-to-context.xml?view=diff&rev=526968&r1=526967&r2=526968
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/path-to-context.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/path-to-context.xml Mon Apr 9 17:20:08 2007
@@ -17,4 +17,4 @@
-->
<paths>
<path context="Code">/forrest</path>
-</paths>
\ No newline at end of file
+</paths>