Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [xtext] "EPackage is used twice" or How to import several packages of the same ecore model
[xtext] "EPackage is used twice" or How to import several packages of the same ecore model [message #622959] Mon, 31 May 2010 14:32
Eclipse User
Originally posted by: kuehnlenz.informatik.hu-berlin.de

Hi,

My existing ecore model has several packages:
- root_package
-- package_A
-- package_B
-- package_C

and within package A classes from package B and C are referenced.

Now I used the project creation wizard "Xtext Project From Existing
Ecore Models" with the root_package as default package.

The generated xtext file contains now three imports:

import "platform:/resource/testProject/test.ecore" as package_A
import "platform:/resource/testProject/test.ecore" as package_B
import "platform:/resource/testProject/test.ecore" as package_C

But there are error messages on that import statements:
"EPackage [...] is used twice."

What I have to do in order to import/use several packages of the same
ecore model?

Thanks in advance,
Frank
Previous Topic:EMF Compare
Next Topic:[xtext] "EPackage is used twice" or How to import several packages of the same ecore model
Goto Forum:
  


Current Time: Fri Oct 31 20:10:57 GMT 2014

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

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