[antlr-interest] selective debug code generation for maven plugin

Jim Idle jimi at temporal-wave.com
Fri Apr 3 09:52:32 PDT 2009


Tilman Bender wrote:
> Hi all,
>
> YAMPQ: Yet another maven plugin question ;-)
>
> In my little project I have a lexer, parser and a treewalker to 
> optimize my AST.
> What I would like to do now is debug my TreeWalker. So I followed the 
> step under:
> http://www.antlr.org/wiki/pages/viewpage.action?pageId=4554901
>
> The only proplem is, that when using the maven plugin with the debug 
> configuration switch,
> this applies to _all_ generated sources.
Please read the plugin docs. You can create more than one configuration 
and just apply debug to that by including the grammars and excluding the 
grammas using normal Maven semantics.

Jim


More information about the antlr-interest mailing list