Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 94267 invoked from network); 13 Jan 2005 12:36:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 13 Jan 2005 12:36:59 -0000 Received: (qmail 20791 invoked by uid 500); 13 Jan 2005 12:36:58 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 20532 invoked by uid 500); 13 Jan 2005 12:36:57 -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 Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 20511 invoked by uid 99); 13 Jan 2005 12:36:56 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from essemtepe.nada.kth.se (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 13 Jan 2005 04:36:55 -0800 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [192.168.105.46] ([192.58.197.171]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11/8.12.11) with ESMTP id j0DCapZs027936 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 13 Jan 2005 13:36:51 +0100 (MET) Message-ID: <41E66B5D.6080505@nada.kth.se> Date: Thu, 13 Jan 2005 13:36:45 +0100 From: Daniel Fagerstrom User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [RT] Update to build system: location of blocks and gump References: <41E66800.2040506@apache.org> In-Reply-To: <41E66800.2040506@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > I'm currently thinking about making the build system able to include > blocks from "external" locations, which means blocks that are not > directly in the cocoon directory. Excelent! > I'm thinking of a simple but working solution: I guess the easiest way > would be to just add the root directory for a block to our gump > descriptor. Currently the build system assumes that a block is located > at src/blocks/BLOCKNAME. > When the build system uses this information from gump.xml, we can > simply include a "local.gump.xml" containing some more projects into > the gump.xml and build an aggregated description that is only used by > the build process. Gump itself is not affected as it still uses the > gump.xml. Sounds reasonable. You might also want to take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=32212, that allow for declaring external blocks in local.blocks.properties. The patch still requires changes to gump.xml, so your approach seem more convinient. > So my questions are: > - Is there a possibility in gump to define the root directory for a > block? > - Does this change have any impact on other parts that I oversee? Don't know. /Daniel