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 Sat, 01 Jul 2006 15:50:17 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: 7/1/06 3:50:04 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: 1324 bytes (previous version: 1013 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 the complete project skeleton for you. Make sure that
--- you have Maven 2.0.2 or above installed and then enter following command:</p>
+++ 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 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
+++ following command:</p>
+++ 
    <pre>mvn archetype:create \
      -DarchetypeGroupId=org.apache.cocoon \
---   -DarchetypeArtifactId=cocoon-22-archetype-webapp \
+++   -DarchetypeArtifactId=cocoon-22-archetype-block \
      -DarchetypeVersion=1.0.0-SNAPSHOT \
      -DgroupId=com.mycompany \
      -DartifactId=myBlock \
(2 equal lines skipped)
    
    <p class="note">once again for copy and paste without line feeds:<br/>
    <tt> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
--- -DarchetypeArtifactId=cocoon-22-archetype-webapp
+++ -DarchetypeArtifactId=cocoon-22-archetype-block
    -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.mycompany
    -DartifactId=myBlock</tt></p>
    
(12 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

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

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

Mime
View raw message