Added by Jeroen Reijn, last edited by Jeroen Reijn on Jan 25, 2008
()
| Be Careful This is an experimental sample, since Cocoon 2.2 has not has it's final release yet and this sample depends on the Cocoon 2.2 trunk. |
Requirements
- Maven 2.0.8
- Sun JDK 1.5
- A subversion client
- A running version of the default download of Hippo Repository
Getting the latest Apache Cocoon version
| Be Careful This sample currently only works with the latest trunk of Apache Cocoon |
Checkout Cocoon 2.2 from the apache SVN repository.
$ svn co http://svn.apache.org/repos/asf/cocoon/trunk cocoon-2.2
$ cd cocoon-2.2
Build all Cocoon 2.2 blocks to make sure all dependencies are in your maven 2 repository.
$ mvn -Dmaven.test.skip=true clean install -P allblocks
This can take a while, because of all the dependencies.
Getting the simple site sample
Checkout the hippo-sitesample from the Hippo SVN repository.
$ svn co http://svn.hippocms.org/repos/hippo/hippo-cms-site-sample/branches/SITESAMPLE_Cocoon-2.2/ hippo-sitesample
$ cd hippo-sitesample
Build and run the example using Jetty.
$ mvn clean install
Enable the Cocoon 2.2 Reloading classloader
$mvn cocoon:rcl
Run the SiteSample with Jetty
$ mvn jetty:run
Open your browser at: http://localhost:8888/siteSampleBlock/
That should be it. If you have any questions please feel free to ask them on the Hippo CMS dev mailinglist.