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)
</project></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)
<name>Cocoon Getting Stared application
[parent]application</name>
TBD
<modules>
--- <strong> <module>myWebapp</module>
--- <module>myBlock1</module></strong>
+++ <module><strong>myWebapp</strong></module><strong>
+++ <</strong>module><strong>myBlock1</strong></module>
</modules>
</project>
</pre>
(49 equal lines skipped)