This is what I have done. I wrote my grammar, produces the java classes using the following command using the following:
antlr4 FixedField.g4 -visitor -package fixedfield
I implemented my visitor stuff, put maven in my dependencies, and now my project works. Yet, I have to manually run the antlr command with arguments if I want to regenerate the Java classes. Is there a way to have Maven do this?
brian
Is there a way to have Maven generate the Java classes from the grammar?
I wrote my grammar and produced the java classes using the following command:
antlr4 FixedField.g4 -visitor -package fixedfield
Is there a way to have Maven do this?
brian
--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.