You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2001/07/19 11:52:25 UTC
cvs commit: xml-cocoon2 INSTALL
haul 01/07/19 02:52:25
Modified: . INSTALL
Log:
Added -Dinstall.war=... to build instructions
Revision Changes Path
1.2 +28 -8 xml-cocoon2/INSTALL
Index: INSTALL
===================================================================
RCS file: /home/cvs/xml-cocoon2/INSTALL,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- INSTALL 2001/05/09 20:49:26 1.1
+++ INSTALL 2001/07/19 09:52:25 1.2
@@ -29,16 +29,40 @@
your mileage may vary, but you know how to setup enviornments, right?
-
+
3) Create the Cocoon WAR package.
+
+ 3a) Automatic install.
+
+ To create the package and automatically install it in your servlet
+ container, do
+ [unix] ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps install
+ [win32] .\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps install
+
+ This creates the "cocoon.war" file in '$TOMCAT_HOME/webapps' which
+ is the absolute path to the location where the "cocoon.war" file
+ should be deployed. It also changes all references to that directory
+ in the included samples so that i.e. the database samples will work
+ properly.
+
+ Continue with 5)
+
+ 3b) Manual install.
+
To do this you simply have to type, depending on your operating system
- [unix] ./build.sh -Dinclude.webapp.libs=yes webapp
- [win32] .\build.bat -Dinclude.webapp.libs=yes webapp
+ [unix] ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps webapp
+ [win32] .\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps webapp
- this will create the "cocoon.war" file in the './build/cocoon' directory.
+ This will create the "cocoon.war" file in the './build/cocoon'
+ directory. It also changes all references to that directory in the
+ included samples so that i.e. the database samples will work
+ properly.
+ TOMCAT_HOME points to the directory where tomcat is installed (note:
+ you don't need to set it in the enviornment, it's there only to show
+ you). For more information on Tomcat 3.2.1 see the FAQ below.
4) Install the WAR package in your servlet container.
@@ -52,10 +76,6 @@
[unix] cp ./build/cocoon/cocoon.war $TOMCAT_HOME/webapps/cocoon.war
[win32] copy .\build\cocoon\cocoon.war %TOMCAT_HOME%\webapps\cocoon.war
- where TOMCAT_HOME points to the directory where tomcat is installed (note:
- you don't need to set it in the enviornment, it's there only to show you). For more
- information on Tomcat 3.2.1 see the FAQ below.
-
5) Restart the servlet engine.
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org