xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cost...@covalent.net
Subject RE: Unused imports
Date Thu, 19 Dec 2002 20:40:54 GMT
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:vadim.gritsenko@verizon.net] 
> > Sent: Thursday, December 19, 2002 3:23 PM
> > To: Tom Copeland
> > Cc: general@xml.apache.org
> > 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:vadim.gritsenko@verizon.net] 
> >>Sent: Thursday, December 19, 2002 1:37 PM
> >>To: general@xml.apache.org
> >>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:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
> 
> 


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message