Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 49702 invoked from network); 11 Apr 2005 14:30:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Apr 2005 14:30:44 -0000 Received: (qmail 79646 invoked by uid 500); 11 Apr 2005 14:30:39 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 79590 invoked by uid 500); 11 Apr 2005 14:30:39 -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 79574 invoked by uid 99); 11 Apr 2005 14:30:39 -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; Mon, 11 Apr 2005 07:30:37 -0700 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [192.168.105.31] (localhost [127.0.0.1]) (authenticated bits=0) by smtp.nada.kth.se (8.12.10/8.12.11) with ESMTP id j3BEUYon027594 for ; Mon, 11 Apr 2005 16:30:34 +0200 (MEST) Message-ID: <425A8A7A.1030203@nada.kth.se> Date: Mon, 11 Apr 2005 16:32:26 +0200 From: Daniel Fagerstrom User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Starting to work on the Block[s]Manager References: <20050409083134.46541.qmail@minotaur.apache.org> <425A36D5.4010809@nada.kth.se> <425A3A7B.5030203@apache.org> <425A6B42.1040009@nada.kth.se> <425A7094.8040906@apache.org> In-Reply-To: <425A7094.8040906@apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Reinhard Poetz wrote: > Daniel Fagerstrom wrote: >> To be able to start I need some deployed blocks and a wiring.xml > > see > http://svn.apache.org/repos/asf/cocoon/trunk/src/schema/wiring-schema-1.0.xsd > > > This should be the contract. > >> to test things against. Do you have any suggestions about how to >> achieve that? > > > after reading "The Pragmatic Programmer" we should follow Hunt's and > Thomas' "tracer bullets" idea: we setup a complete system and make the > key parts working ASAP and show that the the concept works. (!= > prototype!!!) Have not read that one, but I had something like that in mind. > In concrete, if I were you, I would write the wiring.xml by hand, make > sure that it validates against the above schema (note: this schema is > NOT carved in stone - it should be driven by *your* needs and not > mine!) and put it into /WEB-INF/blocks/wiring.xml. Sure. I thought that if you allready had something working or almost working we could use that. But until then I'll write something by hand. > The wired blocks have an attribute "location" which only supports file > locations: > > location="./384938958499"> > > which could point during development whereever you want to: > > > location="../../../bla/myBlock"> > > I'd propose http://svn.apache.org/repos/asf/cocoon/trunk/src/test/ I go for that. > the contract is the XML schema (cob-schema and wiring-schema). As long > as they don't change, there shouldn't be any problems on both sides. Ok, I had some remembrance that we had decided to have a particular directory structure on the COBs, but I couldn't find any documentation on that, do you have any link or example? /Daniel