Skip to main content



      Home
Home » Modeling » EMF » What are the options for headless EMF tasks?
What are the options for headless EMF tasks? [message #907944] Tue, 04 September 2012 09:27 Go to next message
Eclipse UserFriend
Greetings,
I've been putting together a new setup for an open source project of mine, and the whole thing is based on Maven.

There is however, a requirement to generate various ECore models from XSD, with model and edit code to follow. Leaving those tasks to Eclipse means my source distribution will require setting up the Eclipse IDE, which I'd like to avoid if possible.

Google searches for Maven Ant EMF did not deliver an easy to understand set of results. So I'd appreciate your input. Could you please provide pointers to resources (online documentation, books etc) that explain how to do model generation from XSDs, generate code etc, preferably with Ant and Maven? That is, if you know any Smile

Best regards
Seref
Re: What are the options for headless EMF tasks? [message #908017 is a reply to message #907944] Tue, 04 September 2012 10:50 Go to previous messageGo to next message
Eclipse UserFriend
Seref,

I know nothing about Maven. There are Ant tasks for these types of
things. E.g.,
http://download.eclipse.org/modeling/emf/emf/javadoc/xsd/2.8.0/org/eclipse/xsd/ecore/importer/taskdefs/XSDGeneratorTask.html

On 04/09/2012 3:27 PM, Seref Arikan wrote:
> Greetings, I've been putting together a new setup for an open source
> project of mine, and the whole thing is based on Maven.
> There is however, a requirement to generate various ECore models from
> XSD, with model and edit code to follow. Leaving those tasks to
> Eclipse means my source distribution will require setting up the
> Eclipse IDE, which I'd like to avoid if possible.
> Google searches for Maven Ant EMF did not deliver an easy to
> understand set of results. So I'd appreciate your input. Could you
> please provide pointers to resources (online documentation, books etc)
> that explain how to do model generation from XSDs, generate code etc,
> preferably with Ant and Maven? That is, if you know any :)
>
> Best regards
> Seref
>
Re: What are the options for headless EMF tasks? [message #908035 is a reply to message #908017] Tue, 04 September 2012 11:18 Go to previous message
Eclipse UserFriend
Huh, I thought I replied to this, but maybe it'll pop up later. In any case, thanks Ed!
I've also found http://wiki.eclipse.org/EMF/FAQ#How_can_I_use_the_EMF_Ant_tasks.3F

I think I can use Maven to call Ant tasks, and create a maven based deployment setup for my work

Best regards
Seref
Previous Topic:Modeling Symposium
Next Topic:how to access emfmodel in xmi
Goto Forum:
  


Current Time: Thu Nov 06 23:42:00 EST 2025

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

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

Back to the top