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: Modularize Cocoon apps (Using blocks)
Date Sat, 28 Jun 2008 18:37:08 GMT
A document has been updated:

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

Document ID: 1291
Branch: main
Language: default
Name: Modularize Cocoon apps (Using blocks) (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 6/28/08 6:36:52 PM
Updated by: Grzegorz Kossakowski

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 8768 bytes (previous version: 8780 bytes)
Content diff:
(23 equal lines skipped)
    <pre>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org
    </pre>
    
--- <p>First choose the archetype: -</p>
+++ <p>First choose the archetype:</p>
    
--- <pre>...
--- Choose archetype:
+++ <pre>Choose archetype:
    1: remote -&gt; cocoon-22-archetype-block-plain (Creates an empty Cocoon block; useful
     if you want to add another block to a Cocoon application)
    2: remote -&gt; cocoon-22-archetype-block (Creates a Cocoon block containing some
small
(3 equal lines skipped)
    Choose a number:  (1/2/3): <strong>2
    </strong></pre>
    
--- <p>Then respond to the other questions as follows: -</p>
+++ <p>Then respond to the other questions as follows:</p>
    
    <pre>Define value for groupId: : <strong>com.mycompany</strong>
    Define value for artifactId: : <strong>myBlock2</strong>
    Define value for version:  1.0-SNAPSHOT: : <strong>1.0.0</strong>
    Define value for package: : <strong>com.mycompany.myBlock2</strong></pre>
    
    <p>The result is a second Cocoon block called myBlock2.  You should find the
--- directory structure of your application now looks as follows: -</p>
+++ directory structure of your application now looks as follows:</p>
    
    <pre>getting-started-app
    <tt> +-</tt><tt>myBlock1
(7 equal lines skipped)
    
    </tt></pre>
    
--- <p>Move into the myBlock2 folder and execute the following command: -</p>
+++ <p>Move into the myBlock2 folder and execute the following command:</p>
    
    <pre>mvn install eclipse:eclipse</pre>
    
(168 equal lines skipped)


Mime
View raw message