I just talked to Oliver and he said problems with Checkstyle in Ant are invariably due to having the antlr runtime either in your classpath or the Ant lib directory. In this case the Antlr runtime cannot see the checkstyle classes since they are coming from different classloaders.
Conor > -----Original Message----- > From: Erik Hatcher [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 15 January 2002 11:05 AM > To: Ant Users List > Subject: Re: Code format validation > > > Checkstyle works fine for me with Ant 1.4.1. > > > ----- Original Message ----- > From: "Matthew Pullen" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, January 14, 2002 6:49 PM > Subject: Code format validation > > > > Hello, > > As with all projects, they tend to change a bit over time. This > > leaves you with unused import statments all over the place. I don't like > the > > import blah.* format either. I was curious if there is an automated way > to > > check this in particular using ant, or an add in to ant? I have tried > using > > checkstyle, but it doesn't appear to work with 1.4. > > > > Matthew Pullen > > > > > ------------------------------------------------------------------ > ---------- > ---- > > > > -- > > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
