Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 88168 invoked from network); 9 Dec 2010 17:32:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Dec 2010 17:32:46 -0000 Received: (qmail 10102 invoked by uid 500); 9 Dec 2010 17:32:45 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 10046 invoked by uid 500); 9 Dec 2010 17:32:45 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Delivered-To: moderator for dev@cxf.apache.org Received: (qmail 92089 invoked by uid 99); 9 Dec 2010 17:23:46 -0000 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dvaleri@gmail.com designates 209.85.215.52 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1Oca1bN6CcE1URjNjJ05dCBlIRhHMNZ3niPRxWYfjX8=; b=sim77QwkRk2rcIWJDmPvLlc20lKxGGtgrPd2R+61BVX2gevQpyS4eeE7QPn6L6k81T y3DbSAPttneTGg1dBpEbc6DmObd3CunEBIL+7tetQetdouSbVHKoFay6dxxbAgMDy3Kb ddnBwcKeYDDZZCRCdil2N7iLnl7YZJpCWkR2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kwgnkJbjk0o9hvFIBQnyPb69Zl07iwQ/mVJ57KtJtv0BmycS8EScgMO1uooZD08fLd 6/cj6sFt954+l6gJYyOSZ3jDft89NL5FhuoBX67t5lNB+E1XS8d1/F6scxXVk1f1Sgjc BikeJ/c7+K0W8vkPhK7dQYmfwFQX9LgyZhyMY= MIME-Version: 1.0 In-Reply-To: References: <201012061359.29114.dkulp@apache.org> Date: Thu, 9 Dec 2010 12:23:20 -0500 Message-ID: Subject: Re: M2Eclipse as an alternative to the maven-eclipse-plugin From: David Valeri To: dev@cxf.apache.org Content-Type: multipart/alternative; boundary=0016364c757e816d260496fd7e69 --0016364c757e816d260496fd7e69 Content-Type: text/plain; charset=ISO-8859-1 No big deal. So far, I think this is an awesome step in the right direction. Please let me know if you have anything new to test out as I would be happy to be a Guinea pig. On Thu, Dec 9, 2010 at 12:09 PM, Benson Margulies wrote: > David, > > I'm really sorry, I seem to have spaced out sufficient testing of > this. I will look into the custom ruleset issue. > > --benson > > > On Thu, Dec 9, 2010 at 11:44 AM, David Valeri wrote: > > I've been using M2Eclipse in a workspace created by the Maven Eclipse > > plug-in for some time now. This workspace had the PMD/checkstyle stuff > > inserted into it by the Maven plug-in and I then deleted all of the > projects > > and imported just what I was working on using M2Eclipse. I saw the new > > instructions so I thought I'd try that approach now since I have been > away > > from CXF for a month or two and my environment is pretty stale. Here is > > what I am hung up on. > > > > I installed PMD and Checkstyle plug-ins as required by Benson's plug-ins. > I > > then installed Benson's plug-ins. I then tried to import just one Maven > > module from the CXF trunk. I'm hitting a wall with Benson's PMD plug-in > > integration. One of the rulesets used by CXF requires a custom rule > class, > > but the PMD plug-in doesn't seem to support pulling rule classes from > > anywhere but the plug-in classpath [1,2]. Is there any hope other than > > re-packaging cxf-buildtools as a bundle fragment and dropping that into > > Eclipse? I tried looking at the Maven Eclipse plug-in configuration to > see > > how it configured PMD, but it looks like it doesn't. The Ant script does > > not appear to touch the PMD resources in cxf-buildtools and simply > > configures the Eclipse Checkstyle plug-in. > > > > The only thing that I found to let the projects import using the > > experimental instructions is to not install the PMD configuration plug-in > in > > Eclipse. > > > > > > On a side note, when using the hybrid approach I mentioned first, one can > > enable the nochecks profile in M2Eclipse. Enabling this profile really > > speeds up Eclipse as the Maven builder triggered on every save does not > > perform the Checkstyle and PMD checks. Since the IDE itself was doing > the > > Checkstyle and PMD checks in real-time, disabling them in the Maven > builder > > didn't really hurt anything and the command line Maven build would still > run > > them; however, using this profile unfortunately causes Benson's Eclipse > > plug-ins to remove the CXF Checkstyle/PMD configuration from the project. > > > > 1 - http://pmd-eclipse.sourceforge.net/#Customization > > 2 - http://eclipsezone.com/articles/pmd/ > > > > On Mon, Dec 6, 2010 at 2:08 PM, Benson Margulies >wrote: > > > >> The initial import. The 'rebuild' that happens when you change a > >> dependency. > >> > >> I recommend using a new, independent, eclipse install for this, and a > >> separate CXF tree. I expect you to find things to complain to me > >> about. > >> > >> > >> On Mon, Dec 6, 2010 at 1:59 PM, Daniel Kulp wrote: > >> > On Sunday 05 December 2010 9:48:46 am Benson Margulies wrote: > >> >> Note that I've added some instructions to > >> >> > >> >> http://cxf.apache.org/setting-up-eclipse.html > >> >> > >> >> pointing to > >> >> > >> >> http://cxf.apache.org/cxf-m2eclipse.html > >> >> > >> >> which gives a procedure for loading CXF into Eclipse with m2eclipse. > >> >> The biggest risk is Eclipse running out of permgen space. Some > >> >> activities are also very slow. > >> > > >> > Before I ruin my finely tuned Eclipse setup again, can you say which > >> > activities are slow? > >> > > >> > > >> > -- > >> > Daniel Kulp > >> > dkulp@apache.org > >> > http://dankulp.com/blog > >> > > >> > > > --0016364c757e816d260496fd7e69--