It is expected that the user is familiar with both the Apache Maven project tool and the Apache Ant build tool.
If you have not already done so, download and install Maven.
Please set these values in your ${USER_HOME}/build.properties
file:
property | example | what is it? |
---|---|---|
catalina.shared.lib | ${CATALINA_HOME}/shared/lib/ | The location of the jars in your Tomcat installation. |
deploy.war.dir | ${CATALINA_BASE}/webapps/ | The location to deploy web application in Tomcat. |
There are two procedures you can follow that will yeild the same results which are to build and install the required jetspeed jars into Maven (for build purposes).
procedure 1 (short and sweet) | procedure 2 (long and boring) |
---|---|
Start the HSQL test server: Build all jars and wars: |
Start the HSQL test server: cd ${jetspeed-2-home} maven start.test.server |
(in seperate window/terminal session) | |
Build Portlet-API cd ${jetspeed-2-home}/portlet-api maven jar:install |
|
Build Jetspeed Commons cd ${jetspeed-2-home}/commons maven jar:install |
|
Build the demo web application cd ${jetspeed-2-home}/applications/demo maven war |
|
Build Jetspeed Portal cd ${jetspeed-2-home}/portal maven war |
Deploy Jetspeed Portal WAR into Catalina
This will unpack the newly created jetspeed.war file into Tomcat/Catalina
Install the demo web application into Catalina
NOTE: Steps 4 and 5 have been combined into the ${jetspeed-2-home}/portal
"maven fullDeploy"
goal. However, you will
still need to manually start the production HSQL server and populate it as defined
in steps 4.1 - 4.5.
Run Tomcat, go to http://localhost:8080/jetspeed.
To undeploy the demo app