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: Your first Cocoon application using Maven 2
Date Tue, 22 May 2007 06:27:26 GMT
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: 5/22/07 6:27:08 AM
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: 5773 bytes (previous version: 5730 bytes)
Content diff:
(10 equal lines skipped)
    
    <h1>Creating a block</h1>
    
+++ <p class="note">First, make sure that you have Maven 2.0.6 or above installed.
+++ You can check this by calling mvn --version from command line. If this doesn't
+++ work for you, read the
+++ <a href="http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html">Maven
+++ in 5 Minutes</a> tutorial.</p>
+++ 
    <p>Create a new directory which will be the root directory of your Cocoon
    application. For this tutorial, let's name it <tt>getting-started-app</tt>.</p>
    
(14 equal lines skipped)
    -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-RC
    -DgroupId=com.mycompany -DartifactId=myBlock1</tt></p>
    
--- <p class="note">Note: if you are using a cocoon binary build from svn trunk then
--- you probably want to change the archetypeVersion to the most recent one,
--- matching the svn trunk. (see
+++ <p class="note">If you are using a cocoon binary build from svn trunk then you
+++ probably want to change the archetypeVersion to the most recent one, matching
+++ the svn trunk. (see
    <tt>[<tt>c</tt></tt><tt>ocoon-svn]/tools/archetypes/cocoon-22-archetype-block/pom.xml</tt>)
    </p>
    
(31 equal lines skipped)
    block. The pom.xml of your block already contains all necessary configurations.
    </p>
    
--- <p class="note">In some non-final releases of cocoon2.2 these configurations
--- have been &lt;!-- commented out --&gt;.  In those cases you will need to go into
--- the pom.xml to manually remove those comment to make that configuration active.
--- </p>
--- 
    <p>You can then run</p>
    
    <pre>mvn jetty:run</pre>
(7 equal lines skipped)
    the jetty:run goal is executed. See the block's <tt>pom.xml </tt>for details.
    </p>
    
--- <p class="note">This process can be manually triggered with <tt>mvn
--- cocoon:rcl</tt>.</p>
+++ <p>This process can be manually triggered with <tt>mvn cocoon:rcl</tt>
too.</p>
    
    <h1>Conclusion and further information</h1>
    
(45 equal lines skipped)


Mime
View raw message