| What are the options for headless EMF tasks? [message #907944] |
Tue, 04 September 2012 09:27  |
Eclipse User |
|
|
|
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 #908017 is a reply to message #907944] |
Tue, 04 September 2012 10:50   |
Eclipse User |
|
|
|
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
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03953 seconds