Using multiple OutputConfigurations with an JvmModelInferrer [message #928660] |
Sun, 30 September 2012 17:37  |
Eclipse User |
|
|
|
Hello,
I would like to have multiple outlets (IOutputConfiguration) and choose, which classes goes in which outlet. This was possible with the IGenerator approach, but seams to be complicated with the new JvmModelInferrer approach.
Use case example:
Generation of abstract classes is more user friendly, if the standard implementations are also generated but only once. (Output directory: "src", override: false)
Thank you!
|
|
|
Re: Using multiple OutputConfigurations with an JvmModelInferrer [message #929494 is a reply to message #928660] |
Mon, 01 October 2012 09:56   |
Eclipse User |
|
|
|
Hi Boris,
I'd put an eAdapter into the inferred type to indicate the output config
and read that one from a subclassed JvmModelGenerator in order to direct
the file into the right directory.
Regards,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 30.09.12 14:37, schrieb Boris Brodski:
> Hello,
>
>
> I would like to have multiple outlets (IOutputConfiguration) and choose,
> which classes goes in which outlet. This was possible with the
> IGenerator approach, but seams to be complicated with the new
> JvmModelInferrer approach.
>
> Use case example:
>
> Generation of abstract classes is more user friendly, if the standard
> implementations are also generated but only once. (Output directory:
> "src", override: false)
>
> Thank you!
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.07772 seconds