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 2006/10/03 16:05:17 UTC

[DAISY] Updated: How to build the site locally

A document has been updated:

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

Document ID: 1256
Branch: main
Language: default
Name: How to build the site locally (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 10/3/06 2:05:07 PM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 939 bytes (previous version: 37 bytes)
Content diff:
--- <html><body><p>TODO</p></body></html>
+++ <html>
+++ <body>
+++ 
+++ <p>This page explains how to build the Cocoon 2.2 documentation site with Maven2
+++ and the daisy-maven-plugin written by Reinhard Potz.</p>
+++ 
+++ <p>This plugin assumes that each block has its own collection.</p>
+++ 
+++ <p>Configure Cocoon 2.2 pom.xml</p>
+++ 
+++ <p>Open the root setting.xml and add the following:</p>
+++ 
+++ <pre> &lt;profiles&gt;
+++     &lt;profile&gt;
+++        &lt;id&gt;localDocs&lt;/id&gt;
+++        &lt;properties&gt;
+++           &lt;docs.deploymentBaseUrl&gt;file:///cocoon-site&lt;/docs.deploymentBaseUrl&gt;
+++           &lt;docs.externalUrl&gt;http://www.example.org&lt;/docs.externalUrl&gt;
+++        &lt;/properties&gt;
+++      &lt;/profile&gt;
+++  &lt;/profiles&gt;  
+++   
+++  &lt;servers&gt;
+++     &lt;server&gt;
+++        &lt;id&gt;cocoon-daisy&lt;/id&gt;
+++        &lt;username&gt;daisy-export&lt;/username&gt;
+++        &lt;password&gt;<strong>SECRET PASSWORD HERE</strong>&lt;/password&gt;
+++     &lt;/server&gt;
+++  &lt;/servers&gt;
+++ </pre>
+++ 
+++ </body>
+++ </html>