cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ovidiu Predescu <ovi...@cup.hp.com>
Subject Re: WAR file containing all that's needed for running Cocoon2
Date Sat, 10 Nov 2001 23:20:44 GMT
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 <ovidiu@cup.hp.com>
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" <matteodg@infinito.it> 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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message