Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » ANT task for converting an Ecore metamodel to an EMF (Emfatic) file?
ANT task for converting an Ecore metamodel to an EMF (Emfatic) file? [message #523096] Thu, 25 March 2010 03:13 Go to next message
Christoph Wienands is currently offline Christoph WienandsFriend
Messages: 55
Registered: July 2009
Member
Hey guys,

I have a model transformation workflow automated as an ANT project, which
produces an Ecore metamodel. I'd like to enhance it and produce an EMF file
from that Ecore model as well.

I know how to do it in Java (EmfGenerator.generate) and could create my own
ANT task. However, I'm trying to avoid that every team member has to deploy
the ANT task to their Eclipse environment.

Sooo, does anybody know how I could automate with ANT, solely relying on
what ships with EMFT?

Thanks a lot,

Christoph
Re: ANT task for converting an Ecore metamodel to an EMF (Emfatic) file? [message #523203 is a reply to message #523096] Thu, 25 March 2010 14:05 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Christoph,

We only have Ant tasks for importing GenModels models from Java, Ecore,
UML2, and XSD and then for generating the artifacts for those
GenModels. For anything else, you'll have to write your own tasks.


Christoph Wienands wrote:
> Hey guys,
>
> I have a model transformation workflow automated as an ANT project, which
> produces an Ecore metamodel. I'd like to enhance it and produce an EMF file
> from that Ecore model as well.
>
> I know how to do it in Java (EmfGenerator.generate) and could create my own
> ANT task. However, I'm trying to avoid that every team member has to deploy
> the ANT task to their Eclipse environment.
>
> Sooo, does anybody know how I could automate with ANT, solely relying on
> what ships with EMFT?
>
> Thanks a lot,
>
> Christoph
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ANT task for converting an Ecore metamodel to an EMF (Emfatic) file? [message #523958 is a reply to message #523203] Tue, 30 March 2010 03:19 Go to previous message
Christoph Wienands is currently offline Christoph WienandsFriend
Messages: 55
Registered: July 2009
Member
Hey Ed,

> We only have Ant tasks for importing GenModels models from Java, Ecore,
> UML2, and XSD and then for generating the artifacts for those GenModels.
> For anything else, you'll have to write your own tasks.

I already feared that. Thanks anyway.

Christoph
Re: ANT task for converting an Ecore metamodel to an EMF (Emfatic) file? [message #622397 is a reply to message #523096] Thu, 25 March 2010 14:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Christoph,

We only have Ant tasks for importing GenModels models from Java, Ecore,
UML2, and XSD and then for generating the artifacts for those
GenModels. For anything else, you'll have to write your own tasks.


Christoph Wienands wrote:
> Hey guys,
>
> I have a model transformation workflow automated as an ANT project, which
> produces an Ecore metamodel. I'd like to enhance it and produce an EMF file
> from that Ecore model as well.
>
> I know how to do it in Java (EmfGenerator.generate) and could create my own
> ANT task. However, I'm trying to avoid that every team member has to deploy
> the ANT task to their Eclipse environment.
>
> Sooo, does anybody know how I could automate with ANT, solely relying on
> what ships with EMFT?
>
> Thanks a lot,
>
> Christoph
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: ANT task for converting an Ecore metamodel to an EMF (Emfatic) file? [message #622405 is a reply to message #523203] Tue, 30 March 2010 03:19 Go to previous message
Christoph Wienands is currently offline Christoph WienandsFriend
Messages: 55
Registered: July 2009
Member
Hey Ed,

> We only have Ant tasks for importing GenModels models from Java, Ecore,
> UML2, and XSD and then for generating the artifacts for those GenModels.
> For anything else, you'll have to write your own tasks.

I already feared that. Thanks anyway.

Christoph
Previous Topic:EMF Query/OCL beginner question
Next Topic:[MWE] Standalone execution
Goto Forum:
  


Current Time: Fri Apr 19 06:57:50 GMT 2024

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

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

Back to the top