Return-Path: Delivered-To: apmail-cocoon-docs-archive@www.apache.org Received: (qmail 59517 invoked from network); 28 Oct 2004 13:57:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Oct 2004 13:57:51 -0000 Received: (qmail 60566 invoked by uid 500); 28 Oct 2004 13:57:51 -0000 Delivered-To: apmail-cocoon-docs-archive@cocoon.apache.org Received: (qmail 60491 invoked by uid 500); 28 Oct 2004 13:57:50 -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 Delivered-To: mailing list docs@cocoon.apache.org Received: (qmail 60477 invoked by uid 99); 28 Oct 2004 13:57:49 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 28 Oct 2004 06:57:48 -0700 Received: (qmail 59485 invoked from network); 28 Oct 2004 13:57:47 -0000 Received: from unknown (HELO minotaur.apache.org) (127.0.0.1) by 127.0.0.1 with SMTP; 28 Oct 2004 13:57:47 -0000 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: docs@cocoon.apache.org To: docs@cocoon.apache.org Subject: =?iso-8859-1?q?=5BCocoon_Wiki=5D_Updated=3A__CocoonBlockBuilder?= Date: Thu, 28 Oct 2004 13:57:47 -0000 Message-ID: <20041028135747.59475.50955@minotaur.apache.org> X-Spam-Rating: 127.0.0.1 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Date: 2004-10-28T06:57:47 Editor: ReinhardPoetz Wiki: Cocoon Wiki Page: CocoonBlockBuilder URL: http://wiki.apache.org/cocoon/CocoonBlockBuilder no comment Change Log: ---------------------------------------------------------------------------= --- @@ -25,7 +25,18 @@ Please consider this as a proposal. I don't know build tools like Maven in= depth so that I couldn't have prototyped my ideas like I've done it with A= nt. For the first, let's talk about functionality and then about tools. = =3D=3D=3D How to use it? =3D=3D=3D -Checkout http(s)://svn.apache.org/repos/asf/cocoon/whiteboard/block-builde= r. Make sure, that block.build.properties and blockbuilder.properties are c= orrect (which should work if you have the complete Cocoon SVN tree). Call "= ant compile" at /test/blocks/myblock/trunk. +Checkout http(s)://svn.apache.org/repos/asf/cocoon/whiteboard/block-builde= r. Make sure, that during build the property and blockbuilder.root is avail= able. Easiest way is adding a file with the name "local.block.build.propert= ies" to the root directory of the block. + +The content of local.block.build.properties could look like this: + +{{{ +# ---- BlockBuilder ------------------------------------------------------= ------- + +blockbuilder.root=3D../../../../dev + +}}} + +Then you can call one of the Ant tasks and compile the project (e.g. ant c= ompile). = =3D=3D=3D Directory structure =3D=3D=3D In order to explain what I have done, let's take a look at the file system: