roy huang wrote:

<cocoon version="2.1" user-roles="/WEB-INF/yourrolefile.xconf">


That isn't correct. That is for including your own cocoon.roles file, which would otherwise need to be within the cocoon.jar file.

There is not any, to the best of my knowledge, way of including an external xconf file.

The approach I take is creating a build process that places patch files into src/confpatch within my Cocoon distribution and then building Cocoon. These patch files will be picked up by Cocoon's XConfPatchTask, which can then patch the cocoon.xconf file for you (or web.xml, or root sitemap.xmap).

Regards, Upayavira

Roy Huang
----- Original Message ----- From: "Alex Romayev" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 26, 2004 7:53 AM
Subject: Including external .xconf file in cocoon.xconf





Hi,

Is there a way to have an external .xconf file
included in cocoon.xconf, where I would define my own
avalon components?  I remember seeing somewhere that
it was possible, but couldn't find the answer
anywhere.

Thanks,
-Alex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to