I still get the same error: file:C:/IMPORT-TESTING/build.xml:46: The <pmd> task doesn't support the "reportfile" attribute.
I copied and pasted your target... -----Original Message----- From: Martin [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 9:23 AM To: Ant Users List Subject: Re: PMD 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]
