Thanks to Oliver for prodding the easy things to check.  The solution turns
out that I had a copy of Checkstyle 3.0 in my AN_HOME/lib directory, and of
couse the classloader found the class in that jar first.  I renamed the
checkstyle 3.0 jar to *.bak and it worked beautifully.

thanks Oliver.

Paul

> -----Original Message-----
> From: Paul Smith [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 11 March 2003 9:16 AM
> To: 'Log4J Developers List'
> Subject: RE: Checkstyle target problem
> 
> 
> > Try using an absolute path to the jar file. Like:
> > 
> > checkstyle.jar=/path/to/checkstyle-2.4/checkstyle-all-2.4.jar
> 
> Bummer, nope that didn't work either.  ant -debug shows the class and
> property file being loaded by the parent class loader.  So it 
> seems to be
> finding it.   weird.
> 
> Is there something else I have to define on the command line? 
>  I am just
> doing:
> 
> ant checkstyle
> 
> Is there a -D property that I need to define, or I can define 
> to get around
> it?
> 
> cheers,
> 
> Paul
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to