cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Getting started with Cocoon 2.2
Date Fri, 19 May 2006 14:52:31 GMT
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

Mime
View raw message