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 Sat, 28 Jun 2008 18:25:27 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: 6/28/08 6:25:15 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: 7500 bytes (previous version: 7427 bytes)
Content diff:
(8 equal lines skipped)
    <li>Start the block as a web application and access it from your browser</li>
    </ol>
    
--- <p class="note">First, make sure that you have Maven 2.0.8 or above installed.
--- You can check this by calling mvn --version from the command line. If this
--- doesn't work for you, read the
+++ <p class="note">First, make sure that you have Maven 2.0.9 or above installed.
+++ You can check this by calling <tt>mvn --version</tt> from the 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>
    
(16 equal lines skipped)
    catalog of Cocoon specific archetypes is available on the Cocoon web site and
    you will make use of this in the following instructions.</p>
    
--- <p>Run the following Maven command: -</p>
+++ <p>Run the following Maven command:</p>
    
    <pre>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org
    </pre>
    
    <p>Maven will generate some output and then interactively ask you for some
--- information: -</p>
+++ information:</p>
    
    <pre>Choose archetype:
    1: remote -&gt; cocoon-22-archetype-block-plain (Creates an empty Cocoon block; useful
(11 equal lines skipped)
    <pre>Define value for groupId: : <strong>com.mycompany</strong>
    Define value for artifactId: : <strong>myBlock1</strong>
    Define value for version:  1.0-SNAPSHOT: : <strong>1.0.0</strong>
--- Define value for package: : <strong>com.mycompany.myBlock1
--- </strong></pre>
+++ Define value for package: : <strong>com.mycompany.myBlock1</strong><strong><strong>
+++ </strong></strong></pre>
    
    <p>Maven then asks a few more questions.  Just enter the details as shown
    above.  The groupId is a label that you can use to group all the blocks in your
(30 equal lines skipped)
    <pre>mvn eclipse:eclipse</pre>
    
    <p>This will create the necessary project descriptors for Eclipse. In Eclipse
--- you can import the project into your workspace: <em>File &gt;  Import...</em>
--- </p>
+++ you can import the project into your workspace: <em>File &gt;  Import... &gt;
+++ Existing Projects into Workspace</em></p>
    
    <p>If that's the first time you use Eclipse together with a project created by
    Maven 2, we recommend you read the
(24 equal lines skipped)
    
    <p>So far you have created a Cocoon block and been able to run it in Jetty. 
    This is only the first step to creating a full-blown Cocoon application.  If you
--- would like to know  more read the following tutorials: -</p>
+++ would like to know  more read the following tutorials:</p>
    
    <ul>
    <li><a href="daisy:1290">Your first XML pipeline</a><br/>
(22 equal lines skipped)
    toolset (create Eclipse configuration files, create releases, produce
    documentation, etc.). More information about Maven 2 can be found at the project
    <a href="http://maven.apache.org">website</a>.  We especially recommend reading:
--- -</p>
+++ </p>
    
    <ul>
    <li>
(8 equal lines skipped)


Mime
View raw message