Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 43228 invoked from network); 30 Jun 2007 13:54:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jun 2007 13:54:18 -0000 Received: (qmail 68245 invoked by uid 500); 30 Jun 2007 13:54:19 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 68182 invoked by uid 500); 30 Jun 2007 13:54:19 -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 68171 invoked by uid 99); 30 Jun 2007 13:54:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jun 2007 06:54:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [88.198.46.98] (HELO indoqa.com) (88.198.46.98) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Jun 2007 06:54:15 -0700 Received: from [192.168.1.30] (chello062178239020.5.15.vie.surfer.at [62.178.239.20]) by indoqa.com (Postfix) with ESMTP id 245B4254076 for ; Sat, 30 Jun 2007 16:02:32 +0200 (CEST) Message-ID: <4686606C.8030407@apache.org> Date: Sat, 30 Jun 2007 15:53:48 +0200 From: Reinhard Poetz User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Eclipse Jetty plugin configuration with C22 References: <4684CF02.4050204@openbluelab.org> <4684D687.80403@apache.org> <4684D79C.4000608@openbluelab.org> In-Reply-To: <4684D79C.4000608@openbluelab.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Jean-Christophe Kermagoret wrote: > Reinhard Poetz a �crit : >> Jean-Christophe Kermagoret wrote: >>> Hi, >>> I configured Eclipse Jetty plugin with Cocoon-22 a few days ago and >>> everything was fine. >>> >>> I updated my cocoon distribution with svn and it is now necessary to >>> indicate all libs in jetty configuration. >>> >>> Why is it now necessary ? Is it the correct behaviour ? >> >> Are you using the reloading classloader goal to create a web >> application for your block? >> >> > Yes, I configured it. > I also noticed source are not available when debugging, but projects are > present under eclipse and compile correctly. Are you using snapshot artifacts built by yourself? AFAIK source artifacts are not put into your local repository if you run the Maven build yourself. If you use the proposed release artifacts (2.2RC1) you have to run 'mvn eclipse:eclipse -DdownloadSources=true' in order to get the sources attached to the libraries. Then also using the Eclipse Jetty plugin (pointing to ./target/rcl/webapp) works as expected. (Note: I had some problems with the Maven Eclipse plugin 2.3 and downgraded to 2.2.) -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc --------------------------------------------------------------------