Ed/Stefano
<target name="pmd">
<taskdef name="pmd" classname="net.sourceforge.pmd.ant.PMDTask" />
<pmd reportFile="C:\foo.xml" rulesetfiles="rulesets/unusedcode.xml"
format="xml">
<fileset dir="C:\j2sdk1.4.0\src\">
<include name="**/*.java"/>
</fileset>
</pmd>
</target>
I am using version 1.02 PMD
Note that reportFile has the 'F' cpaitalised.
-Martin
----- Original Message -----
From: "Stefano Mancarella" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 12:07 PM
Subject: Re: PMD
> Ciramella, Edward wrote:
> > Or should I downgrade? The project just plain looks out of date - does
> > anyone have a recommendation on what tool I should use? I'm really
> > interested in import statements. The Style enforcement can come later.
>
> I use CleanImports and I'm quite happy with it:
> http://www.euronet.nl/users/tomb/cleanImports/index.html
>
> Another option could be ImportScrubber:
> http://importscrubber.sourceforge.net/
>
> Take a look at http://ant.apache.org/external.html for other options...
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]