Closed jknack closed 10 years ago
Maybe you need to create a separate maven module and add dependency in the language project, especially the place to invoke Mwe2Launcher.
@xilin you're right. The problem was in the maven build phases. At the time Mwe2Launcher is invoked no compilation was done and then I got the Couldn't resolve reference to JvmType: AntlrGeneratorFragmentWithCustomLexer
Thanks
Hi,
I followed the steps from doc for building xtext projects with maven and it works OK for normal xtext projects.
My project had a custom AntlrFragment that extends XtextAntlrGeneratorFragment and it is declared in my *.mwe2 file.
When I try to build with maven, I got this:
Couldn't resolve reference to JvmType parse.antlr.AntlrGeneratorFragmentWithCustomLexer
Thanks