Xpand workflows and parameters [message #517086] |
Fri, 26 February 2010 08:24 |
MaximeLecourt Messages: 108 Registered: February 2010 Location: France |
Senior Member |
|
|
I read that topic, and the MWE documentation
http://www.eclipse.org/forums/index.php?t=msg&th=161471& amp; amp;start=0&
Still, some things are not clear to me.
I see you can declare Properties, which references to a property file, or defines a simple property.
but can you modify the workflow to add parameters to it's execution ?
By parameters, I mean adding options to the generation, defining if you generate all your code in the same file, or change the generated packages name, how many of them there are, and so on.
thanks
One day I shall master M2T, but that day has yet to come...
[Updated on: Fri, 26 February 2010 08:27] Report message to a moderator
|
|
|
|
|
Re: Xpand workflows and parameters [message #518107 is a reply to message #517086] |
Wed, 03 March 2010 05:35 |
Sven Efftinge Messages: 1823 Registered: July 2009 |
Senior Member |
|
|
MaximeLecourt schrieb:
> I read that topic, and the MWE documentation
> http://www.eclipse.org/forums/index.php?t=msg&th=161471& amp;start=0&
>
> Still, some things are not clear to me.
>
> I see you can declare Properties, which references to a property file,
> or defines a simple property.
>
> but can you modify the workflow to add parameters to it's execution ?
> By parameters, I mean adding options to the generation, defining if you
> generate all your code in the same file, or change the generated
> packages name, how many of them there are, and so on.
You can simply pass parameters to a workflow, which will override any
local properties.
Sven
--
Need professional support for Xtext and EMF?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : blog.efftinge.de
|
|
|
Powered by
FUDForum. Page generated in 0.03382 seconds