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: 12/28/06 4:43:49 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: 5877 bytes (previous version: 5833 bytes)
Content diff:
(68 equal lines skipped)
    
    <h1>Using the block within the web application</h1>
    
--- <p>So far the web application (<tt>myCocoonWebapp</tt>) doesn't have any
--- information about the existense of the block (<tt>myBlock1</tt>). Change 
this by
+++ <p>So far the web application <tt>myCocoonWebapp</tt> doesn't have any
+++ information about the existense of the block <tt>myBlock1</tt>. Change this 
by
    opening <tt>getting-started-app/myCocoonWebapp/pom.xml</tt>and add the 
block as
    dependency:</p>
    
(10 equal lines skipped)
    &lt;/project&gt;</pre>
    
    <p>That's it. Now it's time to run the web application. Move into
--- getting-started-app/myCocoonWebapp and call</p>
+++ <tt>getting-started-app/myCocoonWebapp</tt> and call</p>
    
--- <pre>mvn jetty:run</pre>
+++ <pre>mvn package jetty:run</pre>
    
    <p>from there.<br/>
    Open your favorite web browser and call</p>
(11 equal lines skipped)
      &lt;name&gt;Cocoon Getting Stared application 
[parent]application&lt;/name&gt;
      TBD
      &lt;modules&gt;
--- <strong>    &lt;module&gt;myWebapp&lt;/module&gt;
---     &lt;module&gt;myBlock1&lt;/module&gt;</strong>
+++  &lt;module&gt;<strong>myWebapp</strong>&lt;/module&gt;<strong>
+++     &lt;</strong>module&gt;<strong>myBlock1</strong>&lt;/module&gt;
      &lt;/modules&gt;
    &lt;/project&gt;
    </pre>
(49 equal lines skipped)