On Thu, 19 Dec 2002, Tom Copeland wrote: > PMD has a command line interface thing, i.e.: > > java -jar pmd-1.01.jar path/to/my/src html rulesets/unusedcode.xml > > path/to/report/file > > So if GUMP can just shell out to it, that should do the trick. I'm not > really familiar with Gump, although I'm following the discussion about > it on jakarta-general today...
I think what you need is to extend the gump desrciptor to include the paths to sources in each project. Generating the command needs some XSL changes. Projects use different layouts and many have many dirs containing sources. The information can also be used to generate idea/eclipse/netbeans/IDE project descriptors as well :-) Costin > > Yours, > > Tom > > > > > -----Original Message----- > > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 19, 2002 3:23 PM > > To: Tom Copeland > > Cc: [EMAIL PROTECTED] > > Subject: Re: Unused imports > > > > > > Tom Copeland wrote: > > > > >Not sure... PMD has an Ant task - > > >http://pmd.sourceforge.net/ant-task.html - is that how Gump works? > > > > > > > > > http://marc.theaimsgroup.com/?l=jakarta-general&m=104032770301214&w=2: > >>> > > P.S. Since Gump simply runs commands and captures output, there is no > technical reason why it needs to be limited to Java code bases. > > <<< > > > I guess it's just a matter of sending a patch against gump files :) > > Vadim > > > >Yours, > > > >tom > > > > > > > >>-----Original Message----- > >>From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > >>Sent: Thursday, December 19, 2002 1:37 PM > >>To: [EMAIL PROTECTED] > >>Cc: Tom Copeland > >>Subject: Re: Unused imports > >> > >> > >>Vladimir R. Bossicard wrote: > >> > >> > >> > >>>Here are the new numbers (12/18/02) > >>> > >>><http://cvs.apache.org/~tcopeland/jakarta_bad_imports.htm> > >>> > >>> > >>Tom, > >> > >>Is it possible to make this part of Gump? > >> > >>Vadim > >> > > > > > --------------------------------------------------------------------- > In case of troubles, e-mail: [EMAIL PROTECTED] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
