forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Chalko <n...@chalko.com>
Subject Re: Changes bugid link always points to nagoya
Date Mon, 02 Jun 2003 17:17:33 GMT
Thanks I will give it a try.

Dirk Drazenovic wrote:

>Nick Chalko wrote:
>  
>
>>How can I change the url used to link bugs on the changes page.
>>for example http://www.krysalis.org/centipede/changes.html
>>    
>>
>
>Edit the changes2document.xsl (forrest/context/library/xslt).
>
>Change the value of the variable "bugzilla" to suit your needs.
>
>To add multiple trackers, e.g. RFE's just add a new variable and a section
>similar to fixes-bug. Here is what i did, for a SourceForge RFE Tracker:
>
>---schnipp---
>[...]
> <xsl:variable
>name="bugzilla">http://sourceforge.net/tracker/index.php?func=detail&amp;gro
>up_id=67477&amp;atid=518006&amp;aid=</xsl:variable>
> <xsl:variable
>name="issue-tracker">http://sourceforge.net/tracker/index.php?func=detail&am
>p;group_id=67477&amp;atid=562415&amp;aid=</xsl:variable>
>
> [...]
> <xsl:template match="action">
>  [...]
>   <xsl:if test="@fixes-bug">
>
>    [...]
>   </xsl:if>
>
>   <xsl:if test="@issue">
>    <xsl:text> Resolves issue </xsl:text>
>    <link href="{$issue-tracker}{@issue}">
>     <xsl:text>#</xsl:text><xsl:value-of select="@issue"/>
>    </link>
>    <xsl:text>.</xsl:text>
>   </xsl:if>
>[...]
>---schnapp---
>
>It is possible to use a new attribute within an action
>(issue="issuenumber").
>
>HTH, Dirk
>  
>


-- 
Nick Chalko                                         Show me the code.
                          Centipede
  Ant + autodownloadable build plugins + needed jars autodownload.
              http://krysalis.org/centipede
---------------------------------------------------------------------


Mime
View raw message