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 <bimargul...@gmail.com>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 <dval...@apache.org> 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 <bimargul...@gmail.com > >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 <dk...@apache.org> 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 > >> > dk...@apache.org > >> > http://dankulp.com/blog > >> > > >> > > >