forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [JIRA] Commented: (FOR-487) generate announcement text from the status.xml
Date Wed, 01 Jun 2005 10:34:55 GMT
The following comment has been added to this issue:

     Author: Cyriaque Dupoirieux
    Created: Wed, 1 Jun 2005 5:34 AM
This improvement of changes page is nice.

I have my own version based on xsl:key definition in order to be able to simply manage as
many contexts as you can define (My Dtd is not limited to "build|docs|code|admin|design".

The advantage - on my opinion - is that my own contexts are very various and not developpement
oriented nor language dependant.
here a short example - using releaseNote... :

The following code replace the 5 blocks <xsl:if test="action[@context='build']"> :

   <title>Version <xsl:value-of select="@version"/> (<xsl:value-of select="@date"/>)</title>

+   <xsl:for-each select="action[generate-id()=generate-id(key('contextes',concat(../@version,
'_', @context)))]">
+    <xsl:sort select="@context"/>
+    <section>
+     <title><xsl:value-of select="@context"/></title>
+     <ul>
+      <xsl:apply-templates select="key('contextes',concat(../@version, '_', @context)
+       <xsl:sort select="@type"/>
+      </xsl:apply-templates>
+     </ul>
+    </section>
+   </xsl:for-each>

Hope you'll like the idea...

View this comment:

View the issue:

Here is an overview of the issue:
        Key: FOR-487
    Summary: generate announcement text from the status.xml
       Type: New Feature

     Status: Closed
   Priority: Minor
 Resolution: FIXED

    Project: Forrest
             Plugins (general issues)
   Fix Fors:

   Assignee: Ross Gardler
   Reporter: David Crossley

    Created: Wed, 27 Apr 2005 11:23 PM
    Updated: Wed, 1 Jun 2005 5:34 AM

By adding some attributes to the "actions" in status.xml we would be able to use certain entries
for the announcement text.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message