You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2008/05/19 21:22:07 UTC

[DAISY] Updated: Deploying a Cocoon application

A document has been updated:

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

Document ID: 1362
Branch: main
Language: default
Name: Deploying a Cocoon application (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/19/08 7:21:53 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: 6311 bytes (previous version: 5905 bytes)
Content diff:
(56 equal lines skipped)
    
    <h1>Using a block within the web application</h1>
    
+++ <p>In order to use blocks as dependencies you need to <em>install</em> them into
+++ Maven's local repository. First go to <tt>myBlock1/</tt> directory and execute
+++ following command:</p>
+++ 
+++ <pre>mvn install
+++ </pre>
+++ 
+++ <p>Then go to <tt>myBlock2/</tt> and execute the same command. This way both
+++ blocks will get installed into local repository where Maven stores all artifacts
+++ that can be used as dependencies.</p>
+++ 
    <p>So far the web application <tt>myCocoonWebapp</tt> doesn't have any
    information about the existense of the block <tt>myBlock1</tt> and
    <tt>myBlock2</tt>. Change this by opening
(106 equal lines skipped)