haul 01/07/19 02:55:12 Modified: . Tag: cocoon_20_branch INSTALL Log: Added instructions to add -Dinstall.war=... to build Revision Changes Path No revision No revision 1.1.1.1.2.1 +27 -7 xml-cocoon2/INSTALL Index: INSTALL =================================================================== RCS file: /home/cvs/xml-cocoon2/INSTALL,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- INSTALL 2001/05/09 20:49:26 1.1.1.1 +++ INSTALL 2001/07/19 09:55:12 1.1.1.1.2.1 @@ -31,14 +31,38 @@ 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: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]