Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » eclipse 4 DI
eclipse 4 DI [message #809959] Wed, 29 February 2012 13:55 Go to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
Hi,

Since in Eclipse 4 there is now a DI container and Xtext uses Guice, how do these two go together? It feels weird to use two separate DI containers, do you consider moving to the Eclipse DI (in case it works for Xtext)?

best regards,
Vlad
Re: eclipse 4 DI [message #810161 is a reply to message #809959] Wed, 29 February 2012 19:16 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 2936
Registered: July 2009
Senior Member
Hi Vlad,

no we don't have any plans to move from Guice to another DI container.

You may want to follow the discussion here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=371115

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 29.02.12 14:55, schrieb Vlad Dumitrescu:
> Hi,
>
> Since in Eclipse 4 there is now a DI container and Xtext uses Guice, how
> do these two go together? It feels weird to use two separate DI
> containers, do you consider moving to the Eclipse DI (in case it works
> for Xtext)?
>
> best regards,
> Vlad
Re: eclipse 4 DI [message #810178 is a reply to message #810161] Wed, 29 February 2012 19:59 Go to previous messageGo to next message
Vlad Dumitrescu is currently offline Vlad DumitrescuFriend
Messages: 322
Registered: July 2009
Location: Gothenburg
Senior Member
Hi Sebastian,

Ok, thanks for the info. But won't it be a little confusing to use two different DI containers at the same time? (I know it's confusing even with only one Smile ) Hopefully no class will need to get values injected from both containers, but even so...

regards,
Vlad
Re: eclipse 4 DI [message #1038739 is a reply to message #810178] Thu, 11 April 2013 08:51 Go to previous message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
So, that's a bit weird. Replying to an email from 2009, but still I think it might be worth it. I am looking for the Xtext status and plans to meet the e4 workbench.
In the answer from this post, the referenced bug is verified fixed, so this kind of let's me think the discussion is closed on the @Creatable annotation. Is this still blocking for the Xtext folks? What do you plan to do? Will you drop Guice and adopt jsr-330 and the e4 implementation of it?

I might be wrong on the details, but what I want and need to know is, will there be a dependency and likes on Guice for the future?

Please share your thoughts, Sven, Sebastian, Jan others maintaining the great Xtext!
Previous Topic:mismatched input '<EOF>' expecting
Next Topic:Cross referencing from EMF to Xtext
Goto Forum:
  


Current Time: Sun Nov 23 05:10:23 GMT 2014

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

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