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: Working with Cocoon 2.2 from SVN
Date Wed, 31 Jan 2007 06:35:27 GMT
A document has been updated:

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

Document ID: 798
Branch: main
Language: default
Name: Working with Cocoon 2.2 from SVN (previously Quickstart to Cocoon-2.2 with Maven)
Document Type: Cocoon Document (unchanged)
Updated on: 1/20/07 1:19:11 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: 1870 bytes (previous version: 2611 bytes)
Content diff:
    <html>
    <body>
    
--- <h1>Getting started with Cocoon trunk development</h1>
--- 
    <p class="note">This document is intended for the developers working on Cocoon
--- itself - if you're looking for using Cocoon have a look at
+++ itself - if you're looking for <em>using</em> Cocoon have a look at
    <a href="daisy:1159">this document</a>.</p>
    
--- <h2>Get Cocoon-2.2 trunk</h2>
+++ <h1>Get Cocoon 2.2 from trunk</h1>
    
--- <p>Do 'svn checkout' of Cocoon trunk. Keep up-to-date because there is everyday
--- improvement.</p>
+++ <p>Do <tt>svn checkout http://svn.apache.org/repos/asf/cocoon/trunk</tt>
of
+++ Cocoon trunk. Keep up-to-date because there is everyday improvement.</p>
    
--- <h2>Install Maven</h2>
+++ <h1>Install Maven</h1>
    
--- <p>Need at least Maven-2.0.2 and follow the
+++ <p>Need at least Maven-2.0.4 and follow the
    <a href="http://maven.apache.org/download.html#installation">installation
--- instructions</a>. Ensure that 'mvn --version' is okay.</p>
+++ instructions</a>. Ensure that <tt>mvn --version</tt> is okay.</p>
    
--- <p>It would also help to read the
+++ <p>If you are not familiar with Maven, It is highly recommended to read the
    <a href="http://maven.apache.org/guides/getting-started/index.html">Getting
    Started</a> guide.</p>
    
--- <h2>Populate your local repository</h2>
+++ <h1>Build Cocoon</h1>
    
--- <p>This will take some time, as Cocoon has lots of dependencies.</p>
+++ <p>This will take some time, as Cocoon has lots of dependencies which will be
+++ downloaded my Maven automatically. Go to the root directory of your working copy
+++ of Cocoon and call</p>
    
--- <pre># Change directory to Cocoon trunk $COCOON_HOME
--- cd /svn/asf/cocoon-trunk
+++ <pre>mvn clean install -Dmaven.test.skip=true</pre>
    
--- # Run maven, skipping the Cocoon tests for now
--- mvn clean install -Dmaven.test.skip=true
+++ <p>This will build the core artifacts (sitemap, pipelines, blocks-fw, etc.) and
+++ the most important blocks. If you want to build Cocoon completly, call</p>
+++ 
+++ <pre>mvn install -Dmaven.test.skip=true -P allblocks
    </pre>
    
--- <p>Maven has a list of repositories at which it will attempt to find each
--- dependency jar. If one repository does not have it, or is not available, then a
--- warning will be issued and alternate repositories will be used. If it fails,
--- then you need to keep running Maven until it is successful.</p>
+++ <p>which activates the allblocks profile.</p>
    
--- <pre># Keep running maven until successful
--- mvn install -Dmaven.test.skip=true</pre>
--- 
    <p>If you run into problems, check the page on solving
    <a href="daisy:1164">common Maven2 problems</a>.</p>
    
--- <h2>Offline mode</h2>
+++ <h1>Offline mode</h1>
    
    <p>After your local repository is ready and Cocoon has been built, subsequent
    builds can be executed in offline mode. Maven will look for dependencies or poms
(3 equal lines skipped)
    
    <pre>mvn -o ...</pre>
    
--- <h2>Next steps</h2>
--- 
--- <p>After you have the trunk building, you can now go on to follow some of the
--- tutorials and get going with your favourite blocks.</p>
--- 
--- <ul>
--- <li><a href="daisy:756">Cocoon and Maven2 (aka "Mavenization of Cocoon" aka
--- "M10N")</a> and also see $COCOON_HOME/README.m10n.txt</li>
--- <li>The dev thread
--- <a href="http://marc.theaimsgroup.com/?t=114073746000003">Using trunk</a>
--- describes using the cocoon-webapp, adding blocks and samples, and links to some
--- other useful development discussion about Cocoon mavenisation</li>
--- <li>The Cocoon Block Deployer <a href="daisy:796">BD: Tutorial: Creating,
--- extending and running a block</a></li>
--- </ul>
--- 
    </body>
    </html>


Collections
===========
Removed from collection: documentation
Added to collection: cdocs-site-main

Mime
View raw message