Re: Failing Guice builds

2013-10-15 Thread Tim Boudreau
On Monday, September 30, 2013 12:28:37 PM UTC-4, Christian Gruber wrote: This quarter I'm hoping to get several Google open-source java projects onto an external continuous integration (of some variety, even if it's just duck-taped) but the net effect is that I hope we will have Guice's

Re: creating instance using injector without passing module info again.

2013-10-15 Thread Tim Boudreau
On Tuesday, October 8, 2013 4:56:47 AM UTC-4, kumar santosh wrote: 1. I have class AModule where we are binding are the dependencies. 2. In class Test i created Instance of B using Injector. like . Injector in = Guice.createInjector(new AModule()) // getting instance of B

Re: creating instance using injector without passing module info again.

2013-10-15 Thread Tim Boudreau
On Tuesday, October 8, 2013 12:01:40 PM UTC-4, Nate Bauernfeind wrote: I tend to avoid using Guice for most tests as I find it hard to actually get decent tests when Guice is in the mix. Interesting. As the author of one Guice-based test framework, I'm curious what problems you run into.

Re: Scopes.SINGLETON uses a global lock issue 183

2013-10-15 Thread Sam Berlin
What is it about production mode that makes you think it isn't necessary (whereas it would be necessary with development mode)? sam On Oct 16, 2013 12:27 AM, Romain Gilles romain.gil...@gmail.com wrote: Hi all, I add a comment