[Emfatic] Error while importing ecore [message #1066694] |
Wed, 03 July 2013 19:19 |
Phil H Messages: 267 Registered: November 2012 |
Senior Member |
|
|
Hi,
I tried to import an ecore from another project to an emf file, but still get an error "Failed to resolve type: PL". Here are both emf files:
pld.emf:
@namespace(
uri="/org.model.variability/model/pld.ecore",
prefix="")
package pld;
@gmf.diagram(onefile="true", diagram.extension="pld", model.extension="pld")
class PL{
unsettable attr EString name = "PL";
}
and hw.emf, located in another project:
@namespace(
uri="/org.model.variability.hw/model/hw.ecore",
prefix="")
package hw;
import "platform:/resource/org.model.variability/model/pld.ecore";
@gmf.node(label="name", label.icon="false", color="238,233,233", border.color="0,0,0", resizable="false")
class Platform{
unsettable attr EString name = "Platform";
ref PL pl;
}
Am I doing something wrong with my import?
Cheers,
Phil
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01669 seconds