Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

ilgrosso/Cocoon-3-and-Hippo-CMS-at-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running locally
===============

This project uses the Maven Cargo plugin to run the CMS and site locally in Tomcat.
From the project root folder, execute:

  $ mvn clean install
  $ mvn -P cargo.run

Access the CMS at http://localhost:8080/cms, and the site at http://localhost:8080/site
Logs are located in target/tomcat6x/logs

Building distribution
=====================

To build a Tomcat distribution tarball containing only deployable artifacts:

  $ mvn clean install
  $ mvn -P dist

See also src/main/assembly/distribution.xml if you need to customize the distribution

Using JRebel
============

Set the environment variable REBEL_HOME to the directory containing jrebel.jar.
Build with:

  $ mvn -Djrebel

or add -Djrebel to your MAVEN_OPTS environment variable:

  $ export MAVEN_OPTS="$MAVEN_OPTS -Djrebel"

Note: the latter *always* enables JRebel. To disable temporarily (e.g. when building/deploying a release) use

  $ mvn -P -jrebel

Do *not* activate JRebel using "mvn -P jrebel", as it then deactivates the "default" profile.

Hot deploy
==========

To hot deploy, redeploy or undeploy the CMS or site:

  $ cd cms (or site)
  $ mvn cargo:redeploy (or cargo:undeploy, or cargo:deploy)