Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Modeling (top-level project) » .ecore model naming conventions?
.ecore model naming conventions? [message #599240] Fri, 10 August 2007 10:37
Bernie Bussiere is currently offline Bernie BussiereFriend
Messages: 13
Registered: July 2009
Junior Member
I have two .xsd files.
First.xsd has no includes and defines two elements and some simple&complex
types.
Second.xsd includes First.xsd and defines more elements and simple&complex
types.

When creating a EMF project from Second.xsd
- the name of the .ecore file and root object name is based on First.xsd
(the included file).
- after deleting just the elements from First.xsd the .ecore file and root
object name is based on Second.xsd.

My expectations were that the .ecore file and root object name would always
be based on Second.xsd, the file being passed into the EMF project creation
wizard. It appears to be choosing the first file that it finds an element
in.

The question:
Is there a way to override this default behavior so Second.xsd is used as
the .ecore file and root object name?
Previous Topic:[Announce] OCL Tools component proposal
Next Topic:.ecore model naming conventions?
Goto Forum:
  


Current Time: Fri Apr 26 01:40:28 GMT 2024

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

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

Back to the top