Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:27 Go to next message
Seref Arikan is currently offline Seref ArikanFriend
Messages: 73
Registered: August 2010
Member
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 14:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
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
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: What are the options for headless EMF tasks? [message #908035 is a reply to message #908017] Tue, 04 September 2012 15:18 Go to previous message
Seref Arikan is currently offline Seref ArikanFriend
Messages: 73
Registered: August 2010
Member
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: Fri Mar 29 11:51:19 GMT 2024

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

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

Back to the top