Building the application

  1. Create a new MySQL database named elatePortal.
  2. Create a new MySQL database named j2.
  3. Change the username and password for MySQL in the {elatePortal}/project.properties file.
  4. Import the SQL data from the file {elateSource}/ojb/ddl.sql via any MySQL client, see the documentation at http://www.mysql.com/doc.
  5. Prepopulate the elatePortal database by importing {elateSource}/ojb/startData.sql via the MySQL client
  6. Copy the file {elatePortal}/build.properties.sample to {elatePortal}/build.properties and edit any values differing from your environment (e.g. org.apache.jetspeed.server.home etc.).
  7. Open a shell window and type the following commands:
    1. maven clean.all (note: this is not necessary after the first clean checkout from cvs and would result in dependency errors anyway)
    2. maven recreate.db
    3. maven deploy.all

  8. Now start tomcat, open any browser and go to http://localhost:8080/elatePortal.

Congratulations, you are now the proud owner of one of the nicest portals in history :)

Deployment Goals

TODO: document the various deployment maven goals (deploy.decorators, deploy.elatePA, deploy.psml etc.)

back main