I am currently looking into EGF and have some problems finding my way around.
I tried several of the example projects and created some first tasks myself. Now what I would like to do is to write some task/pattern which can convert objects from type A to type B. Both (A and B) are in a specific EMF/Ecore model. I was able to write a task and create a setup which loads the objects A from an XMI-Ecore file, converts the objects to type B, but now I am a bit stuck how to get the items out. Simply defining an out parameter of type Domain/EMFDomain seems to work, but the items won't get serialized if like them with a Workspace/Filesystem domain.
Is there some tutorial available for some setup like this? Or do I need to write a simple task with writes out the objects "manually" using a ResourceSet?
At present time, the Domain objects never get saved even if the resources have been modified.
In your case, you shoud serialize your modified EMF domain in the postExecute() method of your task implementation.