Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 11245 invoked from network); 14 Dec 2006 08:23:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2006 08:23:54 -0000 Received: (qmail 11528 invoked by uid 500); 14 Dec 2006 08:24:00 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 11442 invoked by uid 500); 14 Dec 2006 08:24:00 -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 11428 invoked by uid 99); 14 Dec 2006 08:24:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 00:24:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [80.89.224.70] (HELO smtp.iaf.nl) (80.89.224.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Dec 2006 00:23:48 -0800 Received: from server.bizzdesign.nl (bizzdesign2.cust.iaf.nl [80.89.226.18] (may be forged)) by smtp.iaf.nl (8.13.1/8.13.1) with ESMTP id kBE8NCPn014902 for ; Thu, 14 Dec 2006 09:23:12 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [2.2] Debugging and inplace editing Date: Thu, 14 Dec 2006 09:23:45 +0100 Message-ID: <5E091A68F794974CAF431CA31F5AF2CC6DC759@server.bizzdesign.nl> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [2.2] Debugging and inplace editing Thread-Index: Acce1PQmGSz2/uRFQbS/bkGZRPqEGAAhEWQw From: "Bart Molenkamp" To: X-IAF-MailScanner: Found to be clean X-IAF-MailScanner-From: b.molenkamp@bizzdesign.nl X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Hi Daniel, This seems to be what I was looking for. Thanks! Bart. > -----Oorspronkelijk bericht----- > Van: Daniel Fagerstrom [mailto:danielf@nada.kth.se] > Verzonden: woensdag 13 december 2006 17:30 > Aan: dev@cocoon.apache.org > Onderwerp: Re: [2.2] Debugging and inplace editing >=20 > Bart Molenkamp skrev: > ... > > I'm also wondering if there is a way for the jetty plugin to work on the > > webapp source directory directly (src/main/resources/COB-INF) instead of > > copying stuff to target/my-block-1.0.0-SNAPSHOT/. For me, it's not > > really an option to stop/rebuild/start for every sitemap change, > > flowscript change, etc. Changing sources under > > target/my-block-1.0.0-SNAPSHOT and copying them back to the source > > directory isn't really an option for me either. > > > > Does someone have a good idea about how to do this? > > > If you use the trunk in Eclipse with the Eclipse-Jetty plugin, it > already works in the way you ask for. To make it work you need to ensure > that the main webapp has a project dependency on the my-block in Eclipse > (e.g. by running mvn eclipse:eclipse from a top level pom). If it has > Eclipse will have put the contents of my-block/src/main/resources/ on > the classpath used in the main webapp. And the deployer part of Cocoon > that is executed during startup will read the COB-INFs directly from > classpath in the case where there is a file protocol at the classpath. > Only jars are unpacked. >=20 > See http://marc.theaimsgroup.com/?l=3Dxml-cocoon-dev&m=3D116326232408386&w=3D= 2 > for details about the implementation. >=20 > /Daniel