On Mon, Jun 16, 2003 at 05:32:24PM +0200, Vincent Massol wrote:
[...]
> > You are right, I didn't remember that apos is among the default
> entities.
> > But funnily enough the method described worked for me. Now, I've made
> a
> > "maven clean site:deploy" to be sure to work from scratch and see,
> that
> > the class cast exception problem is present already in the
> > target/checkstyle-raw-report.xml (I had good raw report before). Also,
> > I saw error messages while the checkstyle goal was running (which is
> not
> > present in the maven.log):
> > 
> > Can't find/access AST Node
> > typecom.puppycrawl.tools.checkstyle.api.DetailAST
> > 
> > for every files that was flagged with the class cast exception in the
> raw
> > checkstyle report.
> 
> This error is a know error due to some Antlr version 2.7.1 present in
> the classpath. Checkstyle 3.1 requires Antlr 2.7.2.
> 
> I don't know where this version comes from as I've replaced the Antlr
> dependency on 2.7.1 by one on 2.7.2...
> 
> -Vincent

Actually, I've purged out all the footprints of antlr 2.7.1 from my
disk, the repository is here:

-----
[EMAIL PROTECTED] repository]$ ls -lR $MAVEN_HOME/repository/antlr
/home/s/maven/repository/antlr:
total 4
drwxrwxr-x    2 incze    incze        4096 Jun 16 18:01 jars/

/home/s/maven/repository/antlr/jars:
total 360
-rw-rw-r--    1 incze    incze      358273 Apr  9 19:06 antlr-2.7.2.jar
-rw-rw-r--    1 incze    incze          33 Jun  6 09:43 antlr-2.7.2.jar.md5
[EMAIL PROTECTED] repository]$
-----
but experiencing the same problem with the same error messages, BUT ONLY
if it is running as part of the site goal. E.g. "maven checkstyle"
runs OK.

This is my scenario that should be reproducable (hopely) everywhere.

1. Fresh maven checkout.
2. ant -f build-bootstrap.xml
3. maven clean site                  # checkstyle error messages
4. maven checkstyle                  # checkstyle runs ok

I have RedHat 8.0 with j2sdk1.4.1_03 on this machine.

incze

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to