You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by David Crossley <cr...@apache.org> on 2007/05/16 02:09:57 UTC

using xml entities for string replacement

Thorsten Scherler wrote:
> David Crossley wrote:
> > Chris Hostetter wrote:
> ...
> > > that's why i was hoping forrest had a variable substitution mechanism
> > > built into it that could just read from some file that we have ant
> > > generate.
> ...
> > > is there something like that in forrest?
> > 
> > There is a facility for "XML Entities" ...
> > 
> > http://forrest.apache.org/faq.html#xml-entities
> > which refers to a demo and explanation in the 'forrest seed'
> > http://forrest.zones.apache.org/ft/build/forrest-seed/samples/xml-entities.html
> > 
> > Get your Ant to create the file "symbols-project-v10.ent"
> > on each nightly run.
> 
> Thanks David.
> 
> That is actually a really nice way and IMO the cleanest solution. I
> changed the patch to do exactly what David is recommending.
> 
> https://issues.apache.org/jira/browse/SOLR-238

That is good to hear.

-David