Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D5F49E5A for ; Mon, 7 May 2012 20:00:25 +0000 (UTC) Received: (qmail 27540 invoked by uid 500); 7 May 2012 20:00:23 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 27461 invoked by uid 500); 7 May 2012 20:00:22 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 27453 invoked by uid 99); 7 May 2012 20:00:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 20:00:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.111.4.27] (HELO out3-smtp.messagingengine.com) (66.111.4.27) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 20:00:15 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id AFEE22165A for ; Mon, 7 May 2012 15:59:54 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute6.internal (MEProxy); Mon, 07 May 2012 15:59:54 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=tesla.io; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=mesmtp; bh=JJwLwQBmR9r93deUUChYjAv2K6c =; b=YD9FMzHQwPzdmrpMGlJQiNBO1STmVpDiTO5PEzwTR5P01khKSx6/7trzIU5 jwRyrx2VZCqXTXvLi5H3sI/TD3a8k26M6SYmzNBf3LaE8BUtMb/HKnD5izzCf2fC FYuyovrG8loGvgdoqu/5azjbgLOvsduLQYau9Pyo2T798DVQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:mime-version:content-type:subject :date:in-reply-to:to:references:message-id; s=smtpout; bh=JJwLwQ BmR9r93deUUChYjAv2K6c=; b=mznM5dxJCyzW38DFZ7myRLyBv/m/nL/OWAZsXC Kyqm638ocz2Gv/0BJx0Iy2tQ9QRgU52kVmq6t7ozHCJVCElaIyav/Kwe2m3Pxklw CROj+mAuWCptbPCMaYBRuMpyEGdQxXgMOaR0U/Ke68barXupRStP9gNFSVpOSH0R cvUns= X-Sasl-enc: kpmKuza1PdfkwtgUg0XlaizVsByvOKQL/Naq2cnW6iYe 1336420791 Received: from [172.20.10.3] (unknown [207.164.79.83]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2DD468E01B6 for ; Mon, 7 May 2012 15:59:48 -0400 (EDT) From: Jason van Zyl Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_366E4CCA-73F8-48C2-8583-E9221FE98C07" Subject: Re: help needed: problems with eclipse, m2e and wst Date: Mon, 7 May 2012 15:59:05 -0400 In-Reply-To: <4FA8220C.5060905@j-hohwiller.de> To: "Maven Users List" References: <4F9861EC.30008@j-hohwiller.de> <4FA8220C.5060905@j-hohwiller.de> Message-Id: <48CB5781-B6F6-4F45-A2A1-BBF1E454164D@tesla.io> X-Mailer: Apple Mail (2.1251.1) --Apple-Mail=_366E4CCA-73F8-48C2-8583-E9221FE98C07 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 On May 7, 2012, at 3:27 PM, J=F6rg Hohwiller wrote: > Hi Jeff, hi Kalle, >=20 > thanks for your hints. I will give webby and sysdeo a try. > Jetty-run will not help as I need a way to run and debug directly from = eclipse > including code hot deployment. >=20 Webby has fully debugger support, obeys the jetty-maven-plugin = configuration for contexts and ports, and support WAR overlays. We don't = promote it enough but Webby kicks ass. Combine Webby with JRebel and = it's web development nirvana. > I used Sysdeo a long while ago, and just had other problems. > Maybe its better now... >=20 > Regards > J=F6rg >=20 >> You should also have a look at sonatype webby, it is based on cargo = and it >> works almost instantenously on Maven war projects >>=20 >> Jeff >>=20 >> Le samedi 5 mai 2012, Kalle Korhonen a =E9crit : >>=20 >>> I've always found WTP's generic container support to be too slow and >>> too limiting for me. Sysdeo's Tomcat launcher allows for more = explicit >>> control of the classpath, google or see >>> http://tynamo.org/Developing+with+Tomcat+and+Eclipse for more info. >>> run-jetty-run plugin is another good and simple choice. >>>=20 >>> Kalle >>>=20 >>>=20 >>> On Wed, Apr 25, 2012 at 1:43 PM, J=F6rg Hohwiller = > >>> wrote: >>>> Hi there, >>>>=20 >>>> I have problems running/debugging a WAR module out of a maven based >>> multi-module >>>> project in Eclipse using WST and Tomcat. >>>>=20 >>>> The problem is that the classpath is wrong. >>>> When I build the WAR and manually deploy to a local tomcat webapps >>> directory all >>>> works fine. However in Eclipse I get these ClassNotFoundExceptions. >>>>=20 >>>> When I expand the JEE sub-modules of the WAR module in servers = view, >>>> I can see that there are modules missing. If I select the WAR = module >>>> in Projects view and check >>>> Properties > Java Build Path > Libraries > Maven Dependencies >>>> everything is there... >>>>=20 >>>> Maven > Update Project... does not help either. Nor removing the = WAR >>> module from >>>> Tomcat and adding once again. Nor cleaning Tomcat. >>>>=20 >>>> This lead me to the config file >>> .settings/org.eclipse.wst.common.component >>>> When I manually patched this file by adding the missing modules and >>> refreshed >>>> the project the problem goes away. >>>>=20 >>>> Searching the web I found this one: >>>> https://issues.sonatype.org/browse/MECLIPSEWTP-146 >>>>=20 >>>> However this is fixed already in 0.14.0 and I am running >>>> m2e 1.1.0.20120130-216 with m2e wtp in 0.14.0.20110928-2045 >>>>=20 >>>> Anyhow the entries with the JAR including Version still can be = found >>>> in my org.eclipse.wst.common.component >>>>=20 >>>> Mybe the fix did not make it into 0.14.0 ? >>>>=20 >>>> Any ideas but going back to "mvn eclipse:eclipse" ? >>>> I always avoided m2e before and now just started loving it until I = ran >>> into >>>> these problems... >>>>=20 >>>> Regards >>>> J=F6rg >>>>=20 >>>> = --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: = users-unsubscribe@maven.apache.org >>>> For additional commands, e-mail: = users-help@maven.apache.org >>>>=20 >>>=20 >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org = >>> For additional commands, e-mail: = users-help@maven.apache.org >>>=20 >>>=20 >>=20 >=20 >=20 > --=20 > If know-how becomes know-where, then knowledge gets nowhere. > [J=F6rg Hohwiller] >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org >=20 Thanks, Jason ---------------------------------------------------------- Jason van Zyl Founder, Apache Maven http://twitter.com/jvanzyl --------------------------------------------------------- Selfish deeds are the shortest path to self destruction. -- The Seven Samuari, Akira Kurosawa --Apple-Mail=_366E4CCA-73F8-48C2-8583-E9221FE98C07--