As a sample of cocoon.xconf just get the webapp/cocoon.xconf from
Cocoon2's distribution. You may want to edit various options in there
to better suit your particular application.

As a sample sitemap.xmap, I suggest you start with a simple sitemap
definition. You can take a look at the sitemap in webapp/sub/ for a
very simple skeleton of the sitemap. You will need to add definitions
for your own components, as you start using them. You don't need
however to define them all from the beginning as they are defined in
the main sitemap in webapp/.

Another configuration files you need are the logkit.xconf and
web.xml. Just start with those found in the main's Cocoon
distribution.

Once you have the things in place, you should of course refer to the
documentation for more information.

Regards,
-- 
Ovidiu Predescu <[EMAIL PROTECTED]>
http://orion.nsr.hp.com/ (inside HP's firewall only)
http://sourceforge.net/users/ovidiu/ (my SourceForge page)
http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff)

On Sun, 11 Nov 2001 02:47:49 +0100, "Matteo Di Giovinazzo" <[EMAIL PROTECTED]> 
wrote:

> Thanks for the answer! Can you show me the basic content of cocoon.xconf?
> I know that sitemap.xmap contains components and pipelines ecc...
> 
> TIA, matteodg
> 
> 
> ----- Original Message -----
> From: "Ovidiu Predescu" <[EMAIL PROTECTED]>
> To: "Matteo Di Giovinazzo" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Sunday, November 11, 2001 12:20 AM
> Subject: Re: WAR file containing all that's needed for running Cocoon2
> 
> 
> > Yes, you can do that.
> >
> > Create the following directory structure:
> >
> > your-webapp/
> >   cocoon.xconf
> >   sitemap.xmap
> >   your/own/custom/directories/
> >   WEB-INF/
> >     logkit.xconf
> >     web.xml
> >     logs/
> >     lib/
> >       avalon-excalibur-4.0.jar
> >       avalon-framework-4.0.jar
> >       batik-libs.jar
> >       cocoon.jar
> >       dom2.jar
> >       hsqldb.jar
> >       jakarta-regexp.jar
> >       javac.jar
> >       logkit.jar
> >       maybeupload.jar
> >       resolver.jar
> >       xalan.jar
> >       xerces.jar
> >
> > You can remove various jar files if you don't need them. For example
> > you can remove batik libs if you don't use SVG, javac if you're using
> > jikes (which BTW is a very fast compiler, and should give you a nice
> > performance boost), hsqldb if you don't need HSQLDB database support
> > etc.
> >
> > Regards,
> > --
> > Ovidiu Predescu <[EMAIL PROTECTED]>
> > http://orion.nsr.hp.com/ (inside HP's firewall only)
> > http://sourceforge.net/users/ovidiu/ (my SourceForge page)
> > http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other
> stuff)
> >
> >
> > On Sat, 10 Nov 2001 14:21:39 +0100, "Matteo Di Giovinazzo"
> <[EMAIL PROTECTED]> wrote:
> >
> > > I have used Jakarta Struts 1.0. When I create a new webapp that use
> Struts,
> > > I copy the struts.jar in the /lib directory of the webapp and setup the
> > > configuration with /WEB-INF/web.xml and /WEB-INF/struts-config.xml. When
> I
> > > deploy the webapp (a .war file) in a web server all it's OK.
> > >
> > > For Cocoon2 is it possible to do the same thing?
> > > Can I deploy a webapp that use Cocoon2 in a unique war file containing
> all
> > > that's needed for running?
> > > What do I have to include in the war file?
> > >
> > > Does it exists a webapp blank for quick startup like the
> struts-blank.war??
> > >
> > >
> > > THANKS IN ADVANCE, Matteo
> > >
> > > Cocoon2 is great!

---------------------------------------------------------------------
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