Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 55798 invoked from network); 27 Feb 2006 14:36:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 14:36:10 -0000 Received: (qmail 28435 invoked by uid 500); 27 Feb 2006 14:36:07 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 28368 invoked by uid 500); 27 Feb 2006 14:36:06 -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 28357 invoked by uid 99); 27 Feb 2006 14:36:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2006 06:36:06 -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 includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.35] (HELO smtp004.mail.ukl.yahoo.com) (217.12.11.35) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 27 Feb 2006 06:36:05 -0800 Received: (qmail 91011 invoked from network); 27 Feb 2006 14:35:43 -0000 Received: from unknown (HELO ?10.4.1.249?) (reinhard?poetz@86.59.20.138 with plain) by smtp004.mail.ukl.yahoo.com with SMTP; 27 Feb 2006 14:35:43 -0000 Message-ID: <44030E3C.3040807@apache.org> Date: Mon, 27 Feb 2006 15:35:40 +0100 From: Reinhard Poetz User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Using trunk References: <43FE4526.8020704@nada.kth.se> <20060227103625.GH60978@vision.anyware> <4402D8AC.3040903@apache.org> <20060227105048.GI60978@vision.anyware> In-Reply-To: <20060227105048.GI60978@vision.anyware> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jean-Baptiste Quenot wrote: > * Reinhard Poetz: > > >>Jean-Baptiste Quenot wrote: >> >> >>>* Daniel Fagerstrom: >>> >>> >>>>After having checked that the core actually can serve the >>>>start page, it is time to start adding blocks. This is done >>>>by adding the blocks that you want to the dependencies in >>>>the pom.xml of cocoon-webapp. >>> >>>Do we have a user-oriented tool for that? >> >>The block-deployer _will_ become the tool of choice for this >>kind of things. > > > Is it a GUI or based on a properties file like before? Sorry for > the dumb questions, I may have missed something... I'm trying to > understand how things will work. Currently the block deployer consists of a core (cocoon/trunk/cocoon-block-deployer/cocoon-deployer-core), that actually does the deployment (copy files, write wiring.xml). I wrote a Maven plugin (cocoon/trunk/cocoon-block-deployer/cocoon-deployer-plugin), that makes use of the core. Currently this plugin can only deploy a single block (+ auto-resolving all dependant blocks). That's the "cocoon:simple-deploy" goal. In the future the plugin will also support a "cocoon:deploy" goal that works based on a configuration file which describes the blocks that should be installed and how they are configured. This configuration file is based on an XML schema and can be unmarshalled into a Java object. (I'm using Castor-XML for this.) Writing some Eclipse plugin in order to get a visual interface, shouldn't be too difficult as it can collect the same information as the content of XML file would be. Of course the Eclipse plugin can directly call the API of the deployer-core. For now I've stopped development as I have to completly understand what the contract of blocks will be. As soon as I know this, I will finish the deployer-core. If you need/want to know more, just let me know! I don't know if you have Eclipse plugin-development experience, but setting up a project that does a simple deploy would be very helpful. -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de