Skip to main content


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 UserFriend
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: Thu Apr 25 06:00:54 GMT 2024

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

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

Back to the top