On Wednesday 26 December 2001 09:33 am, you wrote:
> For applicators of Cocoon2; what is the recommended method for creating
> multiple projects based on Cocoon? I currently create sibling project
> folders to xml-cocoon2 and customize the projects build.xml to locate
> Cocoon components and maintain a unique webapp folder for each project. 
> There are times when the projects become broken when I cvs update the
> xml-cocoon2 folder and then I need to search for obsolescence in my
> projects which can be a daunting task at times.  What project layout is
> best?  Where should I break between Cocoon2 and Cocoon2 based projects?

We have a Cocoon2-based project here. In my project source tree I have

<root>
|
+- build/
|
+- source/
|
+- web/
   |
   + WEB-INF/
     |
     + lib/

And more, but that's the guts really. web is our version of the cocoon2 
webapp folder, source is our personal source tree, and build is where we 
build the code.

I don't sync with Cocoon proper on a regular basis, but when I do I:

1) Get latest of the Cocoon source
2) compile as: build -Dinclude.webapp.libs=yes webapp javadocs
3) copy the contents of the generated webapp/WEB-INF/lib into my 
corresponding folder
4) manually update my cocoon.xconf and logkit.xconf to match whatever new 
constructs/log targets have been added.

Thus the cocoon.jar that I am using is always local to my project in its 
web/WEB-INF/lib directory (and same with all of the other jars that Cocoon 
depends upon). It has worked out well for us.
-pete


-- 
peter royal -> [EMAIL PROTECTED]

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to