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

Tilman Bender tbender at stud.hs-heilbronn.de
Sat Apr 4 04:20:30 PDT 2009


Jim, I had a look at the docs again, but I am not sure I get you right.
I saw the include/exclude options of the antlr plugin, but I am not  
sure this could help me.

As I understand the documentation you can include exclude/grammars  
from being processed
by antlr at all. So I could either generate debug sources for my  
Parser/Lexer or my TreeWalker in a single run.

I still cannot see how to generate a non-debug lexer/parser _and_ a  
debug treewalker
in one single invocation of  the plugin. Specifing multiple  
configuration elements is afaik
not possible and the eclipse pom editor gives me a syntax error on this.

Or did you mean to do this with maven profiles?
What do you mean by "normal Maven semantics"?

Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tbender at stud.hs-heilbronn.de



Am 03.04.2009 um 18:52 schrieb Jim Idle:

> 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090404/bbcb4d7c/attachment.html 


More information about the antlr-interest mailing list