Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 18984 invoked from network); 7 Feb 2006 18:49:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Feb 2006 18:49:59 -0000 Received: (qmail 27465 invoked by uid 500); 7 Feb 2006 18:48:48 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 27381 invoked by uid 500); 7 Feb 2006 18:48:47 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 27369 invoked by uid 99); 7 Feb 2006 18:48:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:48:47 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:48:47 -0800 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [85.226.150.111] (c-6f96e255.188-1-64736c14.cust.bredbandsbolaget.se [85.226.150.111]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11/8.12.11) with ESMTP id k17ImPew011790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 7 Feb 2006 19:48:25 +0100 (MET) Message-ID: <43E8EB83.3030502@nada.kth.se> Date: Tue, 07 Feb 2006 19:48:35 +0100 From: Daniel Fagerstrom User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: New imageop block in 2.1 References: <20060206105940.GE9993@vision.anyware> In-Reply-To: <20060206105940.GE9993@vision.anyware> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jean-Baptiste Quenot skrev: > About the [1]imageop contribution, could someone explain how I can > add a block in Cocoon 2.1? Take a look at some of the blocks in src/blocks and make sure that the block you like to add follow the same directory structure. > Does it involve adding the new block > in gump.xml? Does the build depend on gump.xml directly, Yes, there is some xslt that is called by the prepare-blocks target in tools/target/compile-build.xml that create ant targets for the blocks based on the gump.xml. > or is > there an intermediate step required? Not AFAIR. You also need to update blocks.properties with the new block. That can either be done manually or with the generate-blocks.properties task. For blocks with jars one need to update lib/jars.xml and legal. > Please find attached the current patch against gump.xml. Haven't added any blocks lately so I don't remember enough to be able to evaluate it. /Daniel