cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Per Kreipke" <...@onclave.com>
Subject RE: [C2] Webapp directory for development...
Date Fri, 24 Aug 2001 16:10:10 GMT
I hate to do this, but I'm still confused. Can anyone help?

7/25/01:

Berin,

> > Should I simply extract the C2 WAR into a new directory, let Tomcat know
> > about it and work there until the app is done, then build it
> into a new WAR
> > and deploy it?
>
>
> This is the prefered development method.  WAR files are for deployment.

Thanks! That makes sense to me. Follow up questions, if I may.

1. I could start with the entire contents of the WAR. But I'm wondering if
the minimum set is:

- sitemap.xmap (and only the necessary portions of it)
- cocoon.xconf (leave as is)
- WEB-INF/web.xml (no changes)
- WEB-INF/lib (leave as is or modify according do documentation on required
libs)
- WEB-INF/db (drop if HSQL isn't needed)

I don't see that anything else is needed to start a new Cocoon based webapp.
It might be nice to have an Ant build target that builds a new directory
(similar to the WAR target) but simpler.


2. Can I create two webapp directories off of one copy of the Cocoon2
servlet? Related question: if I have two copies of all the JARs in the
WEB-INF/lib directory, are separate instances of each used (and is that a
waste of memory)?

Thanks, Per.




---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message