> >What is the best practice for this that allows the most hassle-free
> deployment with the
> >least opportunity for breaking the webapp in moving it from local
> >machine
> to host machine?

I use the main Cocoon sitemap as a kind of 'switchboard', without having any of 
my site code within it. I then have a sub-sitemap for a site which contains all of the 
code specific to that site. That sitemap does not need to be within the 
tomcat/webapps/cocoon folder, it can be anywhere. I then keep all of my XML, 
XSL, etc in the same folder (or in xml, xsl, etc subfolders of..) as the sub-sitemap. 
That means, when I want to deploy a site, all I have to do is copy that folder with 
its sitemap and sub-folders, and update the root sitemap to mount the sub-
sitemap. Works well for me.

As to minimal build, there has been a lot of work going into this recently, but all of 
this work has gone into the latest (not-yet-released) Cocoon 2.1. You can edit a 
file excluding the bits you don't want, and then run the build process which can 
prepare you a war file ready for deployment with just the features you want.

For 2.0.4 you need to use the methods described on the wiki.

Regards, Upayavira


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

Reply via email to