David Crossley wrote:
Ross Gardler wrote:

I almost have the plugin build file automatically creating plugins from Cocoon blocks, but I have hit a problem that I could do with some input on and since I am going to bed now I'm hoping someone will know the answer and save me some research when I start at this again.

What I need to do is tell cocoon to run with an xconf file that is not in the main/webapp/WEB-INF directory. This is because the xconf needs to be dynamically created to allow plugins that require entries in the xconf file (currently the file is created in project-tmp.

I note that the "site" target uses main/webapp/WEB-INF/cli.xconf, which in turn references main/webapp/WEB-INF/cocoon.xconf. The "run" target does not specify a config file since it picks it up from the webapp.


Projects can use their own cli.xconf file, if that helps.

Oh, OK, but that would work only for "forrest site" wouldn't it? (I'll look into it)


Any ideas for "forrest run"? I'm just not sure how to make the webapp look somewhere other than main/webapp/WEB-INF for cocoon.xconf (I suppose I should really be asking on the cocoon list).

Ross


-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.11 - Release Date: 12/01/2005



Reply via email to