shuber 2005/01/25 15:35:12 CET
Modified files:
. README
Log:
deploy:tomcat and undeploy:tomcat goals should now also install shared
libraries and context descriptors files on both Tomcat 4 and 5, but a new
setting called catalina.version.major=5 must be set.
Revision Changes Path
1.68 +15 -12 jahia/README
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/README.diff?r1=1.67&r2=1.68&f=h
Index: README
===================================================================
RCS file: /home/cvs/repository/jahia/README,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- README 28 Jul 2004 17:43:29 -0000 1.67
+++ README 25 Jan 2005 14:35:11 -0000 1.68
@@ -23,8 +23,11 @@
1. Download and Install Maven (http://maven.apache.org), and set an
MAVEN_HOME environment variable pointing at the installation
directory.
+
+ 2. Follow the instructions here to install the Maven plugin JahiaWAR
+ that's used by this project : http://projects.jahia.org/building.html
- 2. Download and Install a Java JDK (http://java.sun.com). Configure the
+ 3. Download and Install a Java JDK (http://java.sun.com). Configure the
JDK by installing a JAVA_HOME environment variable pointing to it's
installation directory.
- Under Windows :
@@ -43,31 +46,31 @@
Basically the same as under Linux, set the environement variable
JAVA_HOME to point to your JDK installation.
- 3. Modify the ${user.home}/build.properties file to include the
+ 4. Modify the ${user.home}/build.properties file to include the
following lines :
catalina.home.dir=PATH_TO_YOUR_TOMCAT_HOME_DIRECTORY
+ catalina.version.major=YOUR_TOMCAT_MAJOR_VERSION (4, 5, etc...)
+
+ For example, here are values for a Tomcat 4.1.27 installation :
+
+ catalina.home.dir=c:/java/technologies/jakarta-tomcat-4.1.27
+ catalina.version.major=4
- 4. Type the following command :
+ 5. Type the following command :
maven
This will build all the code for Jahia.
- 5. In the core directory, type :
+ 6. In the core directory, type :
maven deploy:tomcat
to deploy into your tomcat install.
- 6. In order to use this file, extract it into Tomcat's webapps
+ 7. In order to use this file, extract it into Tomcat's webapps
directory under a directory called jahia, so that you have the
deployed WAR contents at
TOMCAT_HOME/webapps/jahia
-
- 7. Then, copy the core/src/conf/metadata/jahia.xml into the
- TOMCAT_HOME/webapps directory before launching Jahia. This
- step only works for Tomcat 4. In Tomcat 5, you must rename the
- file as context.xml and put it in
- TOMCAT_HOME/webapps/jahia/META-INF/context.xml
-
+
8. Change to the tomcat/bin & run the servlet container (launch
startup.bat or startup.sh depending on your platform).