forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: [jira] Commented: (FOR-1108) Dispatcher, Cocoon 2.1 and Windows
Date Wed, 03 Dec 2008 08:03:45 GMT
El mié, 03-12-2008 a las 12:02 +1100, David Crossley escribió:
> Thorsten Scherler wrote:
...
> > > I don't know why, I just have the niggling feeling that because it works
> > > without this fix for Linux/MAC then applying the above fix for Windows feels
> > > to me like a hack.
> > 
> > The above discussed is not a hack but a clear enhancement. Well e.g.
> > {forrest:forrest.plugins}/org.apache.forrest.plugin.output.Text/ should
> > be replaced by something shorter. Awesome would be {this} but not sure
> > whether that is easily to implement.
> 
> Don't forget that this would need to be handled by the
> Ant target that creates a new plugin from the template:
> http://forrest.apache.org/docs/dev/howto/howto-buildPlugin.html#seed
> 

Not sure I understand since the create target only will create one time
the matches and then the plugin dev has to implement all custom ones. 

However picking up this idea the following can be implemented very easy
with the target David just mentioned. 

<match pattern="output.Text.home">
  <location
src="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.Text/"/>
</match>

and then we can use {lm:output.Text.home} later on.

salu2
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)





Mime
View raw message