You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2006/05/19 16:52:31 UTC

[DAISY] Updated: Getting started with Cocoon 2.2

A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1159.html

Document ID: 1159
Branch: main
Language: default
Name: Getting started with Cocoon 2.2 (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/19/06 2:52:25 PM
Updated by: Reinhard Pötz

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1002 bytes (previous version: 37 bytes)
Content diff:
--- <html><body><p>TODO</p></body></html>
+++ <html>
+++ <body>
+++ 
+++ <p>The simplest way to start your own Cocoon 2.2 based project is using a Maven
+++ 2 archetype, that creates the complete project skeleton for you. Make sure that
+++ you have Maven 2.0.2 or above installed and then enter following command:</p>
+++ 
+++ <pre>mvn archetype:create \
+++   -DarchetypeGroupId=org.apache.cocoon \
+++   -DarchetypeArtifactId=cocoon-22-archetype-webapp 
+++   -DarchetypeVersion=1.0.0-SNAPSHOT 
+++   -DgroupId=com.mycompany 
+++   -DartifactId=myBlock
+++ 
+++ </pre>
+++ 
+++ <p>(once again for copy and paste without line feeds:<br/>
+++ mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
+++ -DarchetypeArtifactId=cocoon-22-archetype-webapp
+++ -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myBlock
+++ </p>
+++ 
+++ <p>The next step is changing into the <tt>myBlock</tt> directory and calling</p>
+++ 
+++ <pre>mvn cocoon:deploy jetty6:run</pre>
+++ 
+++ <p>After that, you can point your browser to</p>
+++ 
+++ <pre>http://localhost:8888</pre>
+++ 
+++ <p>and you should get a success page.</p>
+++ 
+++ <pre> </pre>
+++ 
+++ </body>
+++ </html>


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes