Different issues altogether. Clover broke under ant 1.6. Here it all is: - if we keep the root classloader, its dangerous ground. It all held together somehow under RC1, but for some reason has stopped working because beanutils is clashing with something. - taking checkstyle out of the root classloader and using it like other ant tasks causes the reports to be full of ClassCastExceptions.
I'm still investigating this. My approach is to try and get it working with the original dependencies, but if I have to resort to saying "the root classloader may break if you poke random stuff in there", I'm happy with that because there should always be a better way to do it. - Brett > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 3 March 2004 10:27 AM > To: Maven Developers List > Subject: Re: cvs commit: maven-plugins/checkstyle project.xml > > > Does this mean that Ant 1.6 wasn't the culprit after all? > -- > dIon Gillard, Multitask Consulting > > > > [EMAIL PROTECTED] wrote on 03/03/2004 01:37:20 AM: > > > brett 2004/03/02 06:37:20 > > > > Modified: checkstyle project.xml > > Log: > > reverted changes, added log4j as it is the only way to get > > classloaders to play nice > > > > Revision Changes Path > > 1.36 +29 -0 maven-plugins/checkstyle/project.xml > > > > Index: project.xml > > > =================================================================== > > RCS file: /home/cvs/maven-plugins/checkstyle/project.xml,v > > retrieving revision 1.35 > > retrieving revision 1.36 > > diff -u -r1.35 -r1.36 > > --- project.xml 2 Mar 2004 12:54:34 -0000 1.35 > > +++ project.xml 2 Mar 2004 14:37:19 -0000 1.36 > > @@ -86,36 +86,65 @@ > > <groupId>antlr</groupId> > > <artifactId>antlr</artifactId> > > <version>2.7.2</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > <dependency> > > <groupId>checkstyle</groupId> > > <artifactId>checkstyle</artifactId> > > <version>3.3</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > <dependency> > > <groupId>checkstyle</groupId> > > <artifactId>checkstyle-optional</artifactId> > > <version>3.3</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > <dependency> > > <groupId>regexp</groupId> > > <artifactId>regexp</artifactId> > > <version>1.3</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > <dependency> > > <groupId>commons-beanutils</groupId> > > <artifactId>commons-beanutils</artifactId> > > <version>1.6.1</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > <dependency> > > <groupId>commons-collections</groupId> > > <artifactId>commons-collections</artifactId> > > <version>2.1</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > <dependency> > > <groupId>commons-logging</groupId> > > <artifactId>commons-logging</artifactId> > > <version>1.0.3</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > + </dependency> > > + <dependency> > > + <groupId>log4j</groupId> > > + <artifactId>log4j</artifactId> > > + <version>1.2.8</version> > > + <properties> > > + <classloader>root</classloader> > > + </properties> > > </dependency> > > </dependencies> > > </project> > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > >
