Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » cross reference to models in other project not resolved
cross reference to models in other project not resolved [message #626255] Tue, 25 March 2008 12:30
Jinhui is currently offline JinhuiFriend
Messages: 42
Registered: July 2009
Member
Hi guys,

I have a problem about inter model references: if the type of a Property
is defined in a model in the same project, the type can be resolved. But
if the type is defined in a model in the other Project(i.e. not in the
same project as the referencing model), then the Type can't be resolved,
it was just an eProxy.

the situation:

I have two projects:
--ProjectA
|--java.emx
|--Date (uml::Class)

--ProjectB
|--Models
|--myModel.emx (imported "platform:/resource/ProjectA/java.emx")
|--Class1.attr1,
type="platform:/resource/ProjectA/java.emx#XMI_ID?/Date?"

Now the problem here: if I try to get the type of attr1, it is defined as
a eProxy, so the name of the type of Class1.attr1 is in this case "null".

But interestingly, if I move java.emx into the same Project as the
referencing model, i.e. ProjectB, the the model can be resolved correctly.
I get the name of type of Class1.attr1 == "Date".

Can anyone explain this to me? Does this mean that I have to copy the
referenced Model into every Project that references it???

best Regards!
Jinhui
Previous Topic:Connectors and Provided / Required Interfaces
Next Topic:extension and visualisation
Goto Forum:
  


Current Time: Thu Mar 28 17:22:41 GMT 2024

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

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

Back to the top