[antlr-interest] Maven vs AntlrWorks Generated Sources

Jim Idle jimi at temporal-wave.com
Wed Sep 30 07:57:48 PDT 2009


On 09/30/2009 02:47 AM, Luca Li Greci wrote:
>
> You said that when the grammar is under src/main/antlr3* *the maven 
> plugin automatically picks up all grammar defined under any 
> subdirectories (such as org/mycompany/myproduct) so that the maven 
> parameters include, lib, and the @parser::header {package 
> org.mycompany.myproduct;}

You still need the package in the @headers for each .g file.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090930/8063bb49/attachment.html 


More information about the antlr-interest mailing list