A document has been updated: http://cocoon.zones.apache.org/daisy/documentation/1159.html
Document ID: 1159 Branch: main Language: default Name: Your first Cocoon application using Maven 2 (unchanged) Document Type: Cocoon Document (unchanged) Updated on: 12/28/06 11:27:37 AM Updated by: Reinhard Pötz A new version has been created, state: draft Parts ===== Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 3424 bytes (previous version: 2664 bytes) Content diff: <html> <body> +++ <p>Introduction: "Everything is a block"</p> +++ +++ <h1>Creating a Cocoon web application</h1> +++ +++ <ul> +++ <li>use the archetype</li> +++ </ul> +++ +++ <h1>Creating a block</h1> +++ +++ <ul> +++ <li>use the archetype</li> +++ <li>use mvn eclipse:eclipse</li> +++ <li>refer to RCL plugin tutorial</li> +++ </ul> +++ +++ <h1>Using the block within the web application</h1> +++ +++ <ul> +++ <li>update POM</li> +++ <li>create a parent POM</li> +++ <li>use Jetty to run the application (note: not useful at development time) - +++ start browser</li> +++ <li>refer to usual Maven 2 mechanisms to build, package and release</li> +++ </ul> +++ +++ <p>Adding a second block</p> +++ +++ <ul> +++ <li>reasons why this can be useful</li> +++ <li>use the block archetype</li> +++ <li>update block bean definition of the first block</li> +++ </ul> +++ +++ <p class="warn">former version</p> +++ <p>A typical Cocoon application is divided into several projects: the web application and the used blocks. For your own project you need a web application project which depends on all the used blocks. If you want to split up your (80 equal lines skipped)