Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Injector development: emitting ecore
[ATL] Injector development: emitting ecore [message #61930] Sat, 15 September 2007 09:19 Go to next message
Lorenzo Dalla Vecchia is currently offline Lorenzo Dalla VecchiaFriend
Messages: 58
Registered: July 2009
Member
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 19:58 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
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
Previous Topic:Nesting classes in corresponding package
Next Topic:[ATL] KM3-Ecore primitive types mapping
Goto Forum:
  


Current Time: Fri Apr 19 01:36:58 GMT 2024

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

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

Back to the top