Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Using multiple OutputConfigurations with an JvmModelInferrer
Using multiple OutputConfigurations with an JvmModelInferrer [message #928660] Sun, 30 September 2012 17:37 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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!
Re: Using multiple OutputConfigurations with an JvmModelInferrer [message #929549 is a reply to message #928660] Mon, 01 October 2012 10:58 Go to previous messageGo to next message
Eclipse UserFriend
Hello Sebastian,


thank you, I will try it out.
Re: Using multiple OutputConfigurations with an JvmModelInferrer [message #1008183 is a reply to message #929549] Mon, 11 February 2013 05:26 Go to previous message
Eclipse UserFriend
Hello,


it worked! Thank you very much for help.

And here is the new screen cast: http://xtextcasts.org/episodes/16-output-configurations-with-xbase Smile


Regards,
Boris
Previous Topic:Xtext/Xtend is not resolving binary operations properly
Next Topic:xtend-maven-plugin has no outputs
Goto Forum:
  


Current Time: Wed Jul 02 21:18:56 EDT 2025

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

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

Back to the top