forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [JIRA] Updated: (FOR-514) Do not limit status.xml contexts in project info plugin
Date Fri, 03 Jun 2005 12:41:55 GMT
The following issue has been updated:

    Updater: Cyriaque Dupoirieux (
       Date: Fri, 3 Jun 2005 7:41 AM
- Udpate of the Status DTD 1.3 in order to be able to add the following information :
    <context id="code" title="Changes to the Code Base"/>
    <context id="docs" title="Changes to the Documentation"/>
    <!-- ... -->

- Update of changes2document.xsl in order to take into account the context title or by default
the context ID.
- Update of status.xml files (with documentation associated in comments)

             Attachment changed to patch.txt
For a full history of the issue, see:

View the issue:

Here is an overview of the issue:
        Key: FOR-514
    Summary: Do not limit status.xml contexts in project info plugin
       Type: Improvement

     Status: Unassigned
   Priority: Minor

    Project: Forrest
             Plugin: projectInfo

   Reporter: Ross Gardler

    Created: Wed, 1 Jun 2005 6:02 AM
    Updated: Fri, 3 Jun 2005 7:41 AM

(This comment brought over from FOR-487)

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...


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