Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EPF » EPF model transformation problem with Multi file xmi resources(Model2Model Transformation)
EPF model transformation problem with Multi file xmi resources [message #500484] Thu, 26 November 2009 10:27 Go to next message
Benjamin Honke is currently offline Benjamin Honke
Messages: 2
Registered: November 2009
Junior Member
Hi together,

I try to transform an EPF model via ATL into another model. In this case ATL needs one single InputStream as Input for this transformation. Unfortunately the EPF composer uses a MultiFileXIMResourceSet which contains a couple of MultiFileXMIResources to store one model by the means of multiple XMI files.

Example Scenario:
For transformation I want to load a plugin.xmi with a couple of uma:Tasks which contain some uma:Steps. But the plugin.xmi does not contain information about Steps directly. Instead it just contains cross document references (via ResourceManagers within the plugin.xmi) to other Task.xmi files which contain concrete information about the Steps and some other Task specific stuff. Now the problem is that during an ATL transformation the Step information cannot be loaded on demand.

I tried to load the whole MethodLibrary as Object via "LibraryService.getInstance().getCurrentMethodLibrary()" .

While this Object contains all necessary information atl cannot transform Objects. Moreover when I tried to save this Object within a newly generated resource (to load it by one InputStream after), the result also will be distributed over multiple files.

Does anyone know if and how it is possible to store/ load the model within one single model file without requiring other xmi files or without the MultiFileXMIResources? Is it possible to avoid EPFs multifile approach?

Thanks a lot for any ideas!
Best Regards

Re: EPF model transformation problem with Multi file xmi resources [message #523878 is a reply to message #500484] Mon, 29 March 2010 17:25 Go to previous message
wanderson  is currently offline wanderson
Messages: 4
Registered: October 2009
Junior Member
Hello i'm with the same problem.

did you resol that? and how?

Thanks!

Smile
Previous Topic:Using EPF RichText Feature in Ubuntu
Next Topic:Loading EPF libraries outside of EPF
Goto Forum:
  


Current Time: Wed Sep 17 09:39:54 GMT 2014

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

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