Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext generator fails when calling from maven
xtext generator fails when calling from maven [message #50085] Thu, 11 June 2009 12:44 Go to next message
Christoph Kulla is currently offline Christoph KullaFriend
Messages: 48
Registered: July 2009
Member
Hi,

I’m 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
Re: xtext generator fails when calling from maven [message #511877 is a reply to message #50085] Wed, 03 February 2010 10:23 Go to previous message
Michel de Blok is currently offline Michel de BlokFriend
Messages: 10
Registered: February 2010
Junior Member
Hi Christoph,

we run into the same issue using XText 0.7.2 as commented on Karsten's blog article. Have you found a solution yet?

Regards,
Michel
Previous Topic:Eclipse Community Awards - Vote for Xtext
Next Topic:Content Assist with Xtext
Goto Forum:
  


Current Time: Sat Jul 13 00:25:18 GMT 2024

Powered by FUDForum. Page generated in 0.02568 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top