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: 8/7/06 10:09:50 AM
Updated by: Carsten Ziegeler
A new version has been created, state: publish
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 1174 bytes (previous version: 1312 bytes)
Content diff:
<html>
<body>
--- <p class="warn">You need to build the trunk of Cocoon in order to get your
local
--- repositories filled with the necessary artifacts.</p>
---
<p>The simplest way to start your own Cocoon 2.2 based project is using a
Maven
2 archetype, that creates a block skeleton for you. It only contains a</p>
<ul>
<li>minimal sitemap</li>
--- <li>a Flowscript that uses a Spring bean</li>
+++ <li>a Flowscript that uses a Spring bean</li>
<li>a view pipeline that uses JXTemplate to display values form the
bean</li>
</ul>
--- <p>Make sure that you have Maven 2.0.2 or above installed and then enter
+++ <p>Make sure that you have Maven 2.0.4 or above installed and then enter
following command:</p>
<pre>mvn archetype:create \
(6 equal lines skipped)
</pre>
<p class="note">once again for copy and paste without line feeds:<br/>
--- <tt> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
+++ <tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
-DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-M2
-DgroupId=com.mycompany -DartifactId=myBlock</tt></p>
(12 equal lines skipped)