[ATL] Injector development: emitting ecore [message #61930] |
Sat, 15 September 2007 05:19  |
Eclipse User |
|
|
|
Hi all,
I'm basically developing an injector to automatically transform a model in
Ecore language, conforming to an Ecore metamodel I have already defined.
The basic parser for the model file is in place, and now I need to know
what's the better way to interface with ATL facilities. One option is
creating the Ecore file using Java own XML support, but this would introduce
redundancy with the Ecore metamodel I already defined, and so I'd have to
maintain both. What are the options? Is there a way to emit Ecore
conforming to one already-defined metamodel? Is there an API for injectors
to interface to and is it documented?
Thank you all.
--
Lorenzo
|
|
|
Re: [ATL] Injector development: emitting ecore [message #62148 is a reply to message #61930] |
Fri, 21 September 2007 15:58  |
Eclipse User |
|
|
|
Hi Lorenzo,
I have just created a new Howto entry about injectors and extractors:
http://wiki.eclipse.org/ATL_Howtos#How_can_I_implement_my_ow n_injector_or_extractor.3F
Let me know if you need more details ;-).
Regards,
Frédéric Jouault
Lorenzo Dalla Vecchia wrote:
> Hi all,
>
> I'm basically developing an injector to automatically transform a model
> in Ecore language, conforming to an Ecore metamodel I have already defined.
>
> The basic parser for the model file is in place, and now I need to know
> what's the better way to interface with ATL facilities. One option is
> creating the Ecore file using Java own XML support, but this would
> introduce redundancy with the Ecore metamodel I already defined, and so
> I'd have to maintain both. What are the options? Is there a way to emit
> Ecore conforming to one already-defined metamodel? Is there an API for
> injectors to interface to and is it documented?
>
> Thank you all.
>
> --
> Lorenzo
|
|
|
Powered by
FUDForum. Page generated in 0.09774 seconds