[antlr-interest] Compiling Java source files when using the antlr3-maven-plugin
Cameron Ross
cross at kojeware.com
Wed Nov 11 11:43:23 PST 2009
Hello,
I have a simple maven project with source files configured as follows:
my_project/
- pom.xml
- src
- main
- antlr3
- my_package
- MyGrammar.g
- java
- my_package
- MyClass.java
When I execute mvn compile my parser and lexer sources are generated
properly and reside under target/generated-sources as expected. However,
MyClass.java is not compiled and the process gives me the following error:
...
target/generated-sources/antlr3/my_package/MyParser.java:[105,13] cannot
find symbol
symbol : constructor MyClass()
...
Any help would be greatly appreciated.
Cameron.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091111/d134586b/attachment.html
More information about the antlr-interest
mailing list