On Tue, 2008-02-12 at 10:46 +0000, Ross Gardler wrote: > Johannes Schaefer wrote: > > Hi! > > > > I found the following in forrest.properties (Forrest-0.8). > > > > # The bugtracking URL - the issue number will be appended > > # Projects would use their own issue tracker, of course. > > #project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id= > > #project.bugtracking-url=http://issues.apache.org/jira/browse/ > > > > This parameter gets used in status.xml, e.g. > > <action dev="DC" type="fix" context="code" fixes-bug="FOR-973"> > > inserts the following link > > http://issues.apache.org/jira/browse/FOR-973 > > > > Is there a way to use this inside other documents as well? > > e.g. like this > > <external-refs> > > <bugtracker href={project.bugtracker-url}/> > > </external-refs> > > and reference within a document like > > <a href="site:bugtracker#1234"/> > > (without adding all big-ids in site.xml) > > or maybe > > <a href="bug:1234"/> > > Quick and dirty solution: > > add a pre-process step to the site.xml pipeline that inserts property > values (all properties are accessible in the sitemap) > > I'm sure there is a better way though - my mind is blank right now. This > is right up Thorstens street though.
lol which street do you refer. ;) The above "fixes-bug="FOR-973"" is done in the projectInfo plugin and got injected via the sitemap (like already pointed out by ross). ATM I have not a better idea either. salu2 -- Thorsten Scherler thorsten.at.apache.org Open Source Java consulting, training and solutions