ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <mgai...@hotmail.com>
Subject Re: PMD
Date Thu, 05 Sep 2002 13:22:51 GMT
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" <stefano.mancarella@caboto.it>
To: "Ant Users List" <ant-user@jakarta.apache.org>
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: ant-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-user-help@jakarta.apache.org
>

Mime
View raw message