forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject RE: Glossary Plugin FOR-755 - was RE: [jira] Updated: (FOR-639) define terminology for the various aspects of Dispatcher
Date Mon, 03 Apr 2006 09:07:48 GMT


> -----Original Message-----
> From: Ross Gardler [mailto:rgardler@apache.org]
> Sent: Monday, 3 April 2006 4:26 PM
> To: dev@forrest.apache.org
> Subject: Re: Glossary Plugin FOR-755 - was RE: [jira] Updated: (FOR-639)
> define terminology for the various aspects of Dispatcher
> 
> Gav.... wrote:
> > David wrote :-
> >
> >
> >>Gav.... wrote:
> 
> ..
> 
> >>>	    <map:when test="glossary-v10">
> >>>	      <map:generate type="file" src="{lm:project.{../../1}.xml}"/>
> >>>              <map:transform
> >>
> >>src="{lm:glossary.transform.glossary.document}"/><!-- Not sure about
> this
> >>-->
> >>
> >>That is correct, similar to listLocations/input.xmap
> 
> In addition to Davids comments, you must ensure that you have the
> appropriate locationmap entry in the pluginx locationmap. Again, follow
> Davids advice and use another plugins locationmap as an example,
> Listocations is a nice simple plugin to follow.

I have been following listlocations plugin as an example ever since it was
mentioned a couple of days ago. It has been helpful, and I am certain that
my setup, apart from the obvious changes rewuired, is the same.

Here is my locationmap.xml

<locationmap xmlns="http://apache.org/forrest/locationmap/1.0">

  <components>
    <matchers default="lm">
      <matcher 
        name="lm" 
 
src="org.apache.forrest.locationmap.WildcardLocationMapHintMatcher"/>
    </matchers>
    <selectors default="exists">
          <selector name="exists" logger="sitemap.selector.exists"  
 
src="org.apache.forrest.sourceexists.SourceExistsSelector" />
    </selectors>
  </components>
  
  <locator>  
    <match pattern="glossary.transform.*.*">
        <location src="resources/stylesheets/{1}-to-{2}.xsl" />
    </match>
  </locator>
</locationmap>

Gav...

> 
> Ross
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date: 31/03/2006




Mime
View raw message