xtext generator fails when calling from maven [message #50085] |
Thu, 11 June 2009 08:44  |
Eclipse User |
|
|
|
Hi,
Im trying to mavenize my xtext project with the fornax plugin. I run in
difficulties with a hierarchical module and directory layout. I have a
parent module and in the parent module are submodules which represent the
xtext and the xtext.ui project. When I build only the xtext project
everything works fine. But when starting from the parent project it fails
when reading the grammar files. But the grammar file is correctly
generated!?!
2219 [main] INFO ipse.xtext.generator.LanguageConfig generating
infrastructure for com.XXX.XXX.metamodel.type.Type with fragments :
ImplicitRuntimeFragment, ImplicitUiFragment, GrammarAccessFragment,
EcoreGeneratorFragment, ParseTreeConstructorFragment,
ResourceFactoryFragment, DelegatingGeneratorFragment,
JavaValidatorFragment, JavaScopingFragment, FormatterFragment,
LabelProviderFragment, TransformerFragment,
OutlineNodeAdapterFactoryFragment, JavaBasedContentAssistFragment,
DelegatingGeneratorFragment
error(7): cannot find or open file:
../metamodel.type/src-gen/com/XXX/XXX/metamodel/type/parser/ antlr/internal/InternalType.g
I have no clue what the exact meaning of the "pathRtProject" parameter is.
Is this a relative path? How to put an absolute path there? At which point
of the code is the path to the grammar file specified? Any ideas how to
solve this?
Regards
Christoph
|
|
|
|
Powered by
FUDForum. Page generated in 0.07540 seconds