shuber 2005/05/31 14:43:05 CEST
Modified files: (Branch: JAHIA-HIBERNATE-BRANCH)
. README
Log:
Add branch-specific build instructions.
Revision Changes Path
1.67.2.1 +25 -8 jahia/README
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/README.diff?r1=1.67&r2=1.67.2.1&f=h
Index: README
===================================================================
RCS file: /home/cvs/repository/jahia/README,v
retrieving revision 1.67
retrieving revision 1.67.2.1
diff -u -r1.67 -r1.67.2.1
--- README 28 Jul 2004 17:43:29 -0000 1.67
+++ README 31 May 2005 12:43:04 -0000 1.67.2.1
@@ -42,41 +42,58 @@
- Other unix systems :
Basically the same as under Linux, set the environement variable
JAVA_HOME to point to your JDK installation.
+
+ 3. Download and install XDoclet from xdoclet.sourceforge.net, then
+ follow the installation instructions for the Maven plugin available
+ here : http://xdoclet.sourceforge.net/xdoclet/maven-plugin.html
- 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
- 4. Type the following command :
+ 5. Type the following command :
maven
This will build all the code for Jahia.
+
+ 6. In the core directory, type :
+ maven xdoclet:hibernatedoclet
+ to generate all the Hibernate mapping files from the
+ source code.
- 5. In the core directory, type :
+ 7. 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
+ 8. 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
+ 9. 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
+ 10.Change to the tomcat/bin & run the servlet container (launch
startup.bat or startup.sh depending on your platform).
- 9. Point your browser to http://localhost:8080/jahia/Jahia
+ 11.Point your browser to http://localhost:8080/jahia/Jahia
- 10.Follow the instructions on-screen to configure Jahia. Note that at
some
+ 12.Follow the instructions on-screen to configure Jahia. Note that at
some
point it will ask for database settings. Your should have an existing
database already setup. We recommend under Linux either PostgreSQL
or MySQL. Under Windows the best solution is MySQL.
+
+ 13.After the install has completed, shutdown Tomcat and modify the
+ following file to use the same database as the one selected during
+ the install :
+
TOMCAT_HOME/webapps/jahia/WEB-INF/etc/spring/applicationContext-hibernate.xml
+ If you are using Tomcat 5 or more recent, you will also want to
+ modify the database configuration in the file
+ TOMCAT_HOME/conf/Catalina/localhost/jahia.xml
WORKING WITH JBUILDER
------------------------------------------------------------------------------