|[Eugenia] Running Eugenia from Ant? [message #572460]
||Wed, 05 August 2009 13:10
| Antonio Garcia-Dominguez
Registered: January 2010
I've been learning EMF, GMF and Epsilon for the past few weeks and I
have to say I'm quite impressed. They're all very good tools. I
particularly like how I can generate all the GMF models with Eugenia and
customize what I need using some EOL scripts.
That said, I'd like to automate the generation/compilation process a
bit. There are Ant tasks for the EMF2ECore part and Epsilon also defines
tasks for all the ExL languages and manipulating models. However, I
haven't found any for Eugenia itself.
Looking at the o.e.epsilon.eugenia/src/.../*Delegate.java files in SVN,
I think it could be as simple as running epsilon.eol with the
FixGMFGen.eol, FinGenModel.eol and ECore2GMF.eol scripts and the proper
I believe I could just as well grab these files from SVN and copy them
to my project, but it doesn't feel right. I'd like to use the .eol files
which are part of the Eugenia plugin itself, but I'm not sure how to get
at them using the src attribute of epsilon.eol, if at all possible.
Would it be better to just write new Ant tasks in a plugin and wrap the
runImpl methods of the delegates?
Thanks in advance,