Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 28034 invoked from network); 31 Jan 2007 06:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Jan 2007 06:53:24 -0000 Received: (qmail 96067 invoked by uid 500); 31 Jan 2007 06:53:30 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 96048 invoked by uid 500); 31 Jan 2007 06:53:30 -0000 Mailing-List: contact docs-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@cocoon.apache.org List-Id: Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 96037 invoked by uid 99); 31 Jan 2007 06:53:30 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.67] (HELO cocoon.zones.apache.org) (140.211.11.67) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 22:53:29 -0800 Message-ID: <31170932.1170226383591.JavaMail.daisy@cocoon.zones.apache.org> Date: Wed, 31 Jan 2007 06:53:03 +0000 (GMT+00:00) From: daisy@cocoon.zones.apache.org To: docs@cocoon.apache.org Subject: [DAISY] Updated: Working with Cocoon 2.2 from SVN Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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=C3=B6tz A new version has been created, state: publish Parts =3D=3D=3D=3D=3D Content ------- This part has been updated. Mime type: text/xml (unchanged) File name: (unchanged) Size: 1870 bytes (previous version: 2611 bytes) Content diff: =20 ---

Getting started with Cocoon trunk development

---=20

This document is intended for the=C2=A0developers wor= king on Cocoon --- itself - if you're looking for using Cocoon have a look at +++ itself - if you're looking for using Cocoon have a look at this document.

=20 ---

Get Cocoon-2.2 trunk

+++

Get Cocoon 2.2 from trunk

=20 ---

Do 'svn checkout' of Cocoon trunk. Keep up-to-date because there is = everyday --- improvement.

+++

Do svn checkout http://svn.apache.org/repos/asf/cocoon/trunk of +++ Cocoon trunk. Keep up-to-date because there is everyday improvement. =20 ---

Install Maven

+++

Install Maven

=20 ---

Need at least Maven-2.0.2 and follow the +++

Need at least Maven-2.0.4 and follow the installa= tion --- instructions. Ensure that 'mvn --version' is okay.

+++ instructions. Ensure that mvn --version is okay.

=20 ---

It would also help to read the +++

If you are not familiar with Maven, It is highly recommended to read= the G= etting Started guide.

=20 ---

Populate your local repository

+++

Build Cocoon

=20 ---

This will take some time, as Cocoon has lots of dependencies.

+++

This will take some time, as Cocoon has lots of dependencies which w= ill be +++ downloaded my Maven automatically. Go to the root directory of your wor= king copy +++ of Cocoon and call

=20 ---
# Change directory to Cocoon trunk $COCOON_HOME
--- cd /svn/asf/cocoon-trunk
+++ 
mvn clean install -Dmaven.test.skip=3Dtrue
=20 --- # Run maven, skipping the Cocoon tests for now --- mvn clean install -Dmaven.test.skip=3Dtrue +++

This will build the core artifacts (sitemap, pipelines, blocks-fw, e= tc.) and +++ the most important blocks. If you want to build Cocoon completly, call<= /p> +++=20 +++

mvn install -Dmaven.test.skip=3Dtrue -P allblocks
    
=20 ---

Maven has a list of repositories at which it will attempt to find ea= ch --- 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 f= ails, --- then you need to keep running Maven until it is successful.

+++

which activates the allblocks profile.

=20 ---
# Keep running maven until successful
--- mvn install -Dmaven.test.skip=3Dtrue
---=20

If you run into problems, check the page on solving common Maven2 problems.

=20 ---

Offline mode

+++

Offline mode

=20

After your local repository is ready and Cocoon has been built, subs= equent builds can be executed in offline mode. Maven will look for dependencie= s or poms (3 equal lines skipped) =20

mvn -o ...
=20 ---

Next steps

---=20 ---

After you have the trunk building, you can now go on to follow some = of the --- tutorials and get going with your favourite blocks.

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