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 2006/06/10 09:12:44 UTC

svn commit: r413259 - in /forrest/trunk: main/webapp/resources/schema/dtd/ plugins/org.apache.forrest.plugin.input.projectInfo/ plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/ plugins/org.apache.forrest.plugin.input.projectIn...

Author: crossley
Date: Sat Jun 10 00:12:44 2006
New Revision: 413259

URL: http://svn.apache.org/viewvc?rev=413259&view=rev
Log:
Enable optional release/introduction elements.

Modified:
    forrest/trunk/main/webapp/resources/schema/dtd/changes-v11.mod
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/resources/stylesheets/changes-to-document.xsl
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml

Modified: forrest/trunk/main/webapp/resources/schema/dtd/changes-v11.mod
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/schema/dtd/changes-v11.mod?rev=413259&r1=413258&r2=413259&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources/schema/dtd/changes-v11.mod (original)
+++ forrest/trunk/main/webapp/resources/schema/dtd/changes-v11.mod Sat Jun 10 00:12:44 2006
@@ -62,12 +62,12 @@
 <!ELEMENT changes (title?, devs?, release+)>
 <!ATTLIST changes %common.att;>
 
-    <!ELEMENT release (notes?, action+)>
+    <!ELEMENT release (introduction?, notes?, action+)>
     <!ATTLIST release %common.att;
                       version  CDATA  #REQUIRED
                       date     CDATA  #REQUIRED>
                       
-    <!-- Notea section for release notes -->
+    <!ELEMENT introduction (%blocks;)*>
     <!ELEMENT notes (%sections;)*>
     <!ATTLIST notes %common.att;> 
 

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?rev=413259&r1=413258&r2=413259&view=diff
==============================================================================
--- 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 Sat Jun 10 00:12:44 2006
@@ -115,6 +115,7 @@
  <xsl:template match="release">
   <section id="version_{@version}">
    <title>Version <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"/>
     <section>
@@ -245,6 +246,10 @@
        <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()">

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml?rev=413259&r1=413258&r2=413259&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/src/documentation/content/xdocs/site.xml Sat Jun 10 00:12:44 2006
@@ -87,6 +87,7 @@
 
   <external-refs>
     <forrest href="http://forrest.apache.org/">
+      <changes href="changes.html"/>
       <linking href="docs/linking.html"/>
       <validation href="docs/validation.html"/>
       <webapp href="docs/your-project.html#webapp"/>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml?rev=413259&r1=413258&r2=413259&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/status.xml Sat Jun 10 00:12:44 2006
@@ -42,10 +42,19 @@
   <changes>
     <!-- Add new releases here -->
     <release version="0.2-dev" date="not-released">
+      <introduction>
+        <p>See also the main
+          <link href="ext:forrest/changes">changes</link>
+          related to all plugins.
+        </p>
+      </introduction>
       <notes>
         <p>This plugin provides various mechanisms for extracting and
         displaying information about one or more projects.</p>
       </notes>
+      <action type="add" context="code" dev="DC">
+        Enable optional release/introduction elements.
+      </action>
       <action type="add" context="code" dev="RDG">
         Allow an aggregation of <a href="/docs/developer/useCases/changeLogFeatures.html">all 
         use cases</a> in a project.