Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 7047 invoked from network); 30 Aug 2005 23:39:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2005 23:39:52 -0000 Received: (qmail 58703 invoked by uid 500); 30 Aug 2005 23:39:50 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 58672 invoked by uid 500); 30 Aug 2005 23:39:49 -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 58655 invoked by uid 99); 30 Aug 2005 23:39:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 16:39:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ap-cocoon-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Aug 2005 16:40:04 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EAFgT-00021c-PB for dev@cocoon.apache.org; Wed, 31 Aug 2005 01:38:29 +0200 Received: from d51a4ce66.access.telenet.be ([81.164.206.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Aug 2005 01:38:29 +0200 Received: from jh by d51a4ce66.access.telenet.be with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Aug 2005 01:38:29 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org From: Jorg Heymans Subject: Re: Using Maven to build Cocoon Date: Wed, 31 Aug 2005 01:37:25 +0200 Lines: 37 Message-ID: References: <43142DEB.1070704@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: d51a4ce66.access.telenet.be User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en In-Reply-To: <43142DEB.1070704@apache.org> X-Antivirus: avast! (VPS 0535-0, 29/08/2005), Outbound message X-Antivirus-Status: Clean Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > Ok, let's start with a simple description on how to get m2 build running > for Cocoon trunk. Actually, it's not that easy :) > > First you have to install m2 latest from SVN, the alpha-3 does NOT work > for us! You'll find a description on how to do this here: > http://maven.apache.org/maven2/developers/building.html > (This will take some time and requires a network connection). > (A beta-1 release is planned for the next week) > > Then you can build the cocoon-core jar by going into the > COCOON_HOME/core directory and invoking "m2 install". For the first time > this requires a network connection as well to download the dependencies. > > Then switch to the COCOON_HOME/webapp directory and invoke "m2 war:war" > to build the webapp. > Note, in the future, you will be able to invoke m2 directly from the > COCOON_HOME directory and get a running webapp, but that's currently not > working. up until here everything went fine AFAICS. We should exclude svn files from cocoon-core-2.2-SNAPSHOT.jar though. > Now you can startup Jetty. Set the JETTY_WEBAPP environment variable to > COCOON_HOME/webapp/target/cocoon-webapp-2.2-SNAPSHOT and then start > Jetty using "cocoon servlet". I'm getting Exception in thread "main" java.lang.NoClassDefFoundError: Loader. I take it this is a cocoon class, so it should be in cocoon-core-2.2-SNAPSHOT.jar but it's not. Could it be there is a step missing in above writeup ? Regards Jorg