cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diana Shannon <>
Subject Re: cocoon xternal parametrization
Date Mon, 01 Jul 2002 13:34:44 GMT

On Monday, July 1, 2002, at 06:16  AM, KOZLOV Roman wrote:

> Problem is : there is external (to cocoon application) storage of xml
> and non-xml data located in same filesystem. Currently it's referenced
> in sitemap by
> specifying relative path (from sitemap.xmap file to storage) and the
> references are quite numerous. So it is not flexible in case the storage
> location
> changes.
> The final goal is to customize application settings without interfering
> the sitemap.xmap file, changing one line in some other file
> (xml/property/any
> other). So, is there a way to specify parameter to sitemap externally to
> use it like {1} or {STORAGE_PATH}etc. Via properties of cocoon , via
> sitemap/xconf
> file details?

Can you set these parameters as filter tokens in ANT and include them 
(via filtering="on") into your files within a build target? This isn't 
dynamic, of course, but it's quite useful. If so, check out the 
build.xml file for examples.


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message