Just finished to fight against my ant build.xml and trying to make checkstyle-4.0.0-beta4 work ... This has been hard because of my inexperience when dealing with the tool's configuration: basically checkstyle doesn't work with my system antlr-2.7.5 :O and was continously throwing exceptions about a not found class:
...
[checkstyle] Running Checkstyle 4.0-beta4 on 9 files
[checkstyle] Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
[checkstyle] Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
[checkstyle] Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
[checkstyle] Can't find/access AST Node typecom.puppycrawl.tools.checkstyle.api.DetailAST
...
Removing it from my ant classpath solved the problem (had to edit /usr/bin/ant:108 on my gentoo box). A few seconds fix after a whole day struggle ...
There is something wrong here ...
There is something wrong here ...
1 comment:
Thanks for your post. This problem with checkstyle ANTLR lib is actual as yet.
Post a Comment