Ashok Varikuti wrote:
> Hi List,
>
> I encapsulated antlr grammar files in a eclipse maven project. The 
> compilation task of grammar files is done at maven compile time. I 
> specified the output directory to be the following :-
>
>    * target/generated-sources/antlr
>        * dot.grammar
>              o dot.tokens
>              o dotlexer.java
>              o dotparser.java
>
>    where *dot.grammar* is the package name I specified in the dot.g file
>    @header {
>    package prefuse.parser.dotparser;
>    }
>    @lexer::header {
>      package prefuse.parser.dotparser;
>    }
>
>    But when I did a maven compile, the generated files are generated in
>    the output folder but with no package name.
>
>        * target/generated-sources/antlr              o dot.tokens
>              o dotlexer.java
>              o dotparser.java
>
>    The geenrated files are not part of any package anymore. Can anyone
>    help me with this. All the configuration instructions in a maven
>    project are specified in a pom.xml file.
>
>
>
Sorry substitute the package name as below:-

@header {
   package dot.grammar;
   }
   @lexer::header {
     package dot.grammar;
   }

-- 
Ashok R Varikuti
Graduate Research Assistant
CIS Dept, Kansas State University
785-304-2401
[EMAIL PROTECTED]



List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to