Skip to main content



      Home
Home » Archived » GMT (Generative Modeling Technologies) » [epsilon] Loading of model resources
[epsilon] Loading of model resources [message #599688] Thu, 24 May 2007 07:01
Eclipse UserFriend
Epsilon seems to load EMF resources through FileInputStreams with
absolute paths. This breaks resolving of EMF proxies (EMF can't match
resolved URIs of resources in resource set). In other words, dynamic
models, composed of several ecore files don't work. I managed to fix
that by replacing

metamodel.load(getInputStream(metamodelFile), Collections.EMPTY_MAP);

with

metamodel=
resourceSet.getResource(URI.createPlatformResourceURI(metamo delFile,
false), true);

in EmfModel.java.

- a
Previous Topic:[MOFSCRIPT] version 1.2.1 is not working
Next Topic:[epsilon] Loading of model resources
Goto Forum:
  


Current Time: Tue Apr 29 18:36:04 EDT 2025

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

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

Back to the top