Re: GWT & Dagger 2

2015-09-23 Thread Jens
> Are there any examples/tutorials on how to use Dagger2 with GWT. It would > be very helpful. > You need to inherit the Dagger GWT module and then you can use any Dagger 2 tutorial as there is no difference in usage with GWT. -- J. -- You received this message because you are subscribed

Re: GWT & Dagger 2

2015-09-22 Thread alucard
Are there any examples/tutorials on how to use Dagger2 with GWT. It would be very helpful. On Tuesday, August 18, 2015 at 4:13:59 PM UTC+2, Jens wrote: > > Could you please be a little more precise? I didn't manage to install the >> fork, and since the pull request still hasn't been accepted it

Re: GWT & Dagger 2

2015-08-18 Thread Jens
> > Could you please be a little more precise? I didn't manage to install the > fork, and since the pull request still hasn't been accepted it would be > great if you could elaborate more on this. > Since my fork is already 6 month old and I haven't rebased my changes yet it is probably best i

Re: GWT & Dagger 2

2015-08-18 Thread Roger Küng
On Tuesday, February 24, 2015 at 4:36:24 PM UTC+1, Jens wrote: > > > What's the best way to include your PR ( >> https://github.com/google/dagger/pull/119) in a project? >> > > Its a branch in my dagger fork that you can simply build and install into > your local repo: https://github.com/jnehlme

Re: GWT & Dagger 2

2015-02-24 Thread Vasco Andrade Silva
Thank you Thomas and Jens. Thomas, I was using v. 2.3.2 for maven-compiler-plugin, upgraded to 3.2 and everything worked without build-helper-maven-plugin as you described - thanks! Jens, I did as you said and everything worked! I Hope that the Dagger 2 team merge your PR asap - thank you! I

Re: GWT & Dagger 2

2015-02-24 Thread Thomas Broyer
On Tuesday, February 24, 2015 at 2:29:17 PM UTC+1, Vasco Andrade Silva wrote: > > My issues are: > > *#1 generated sources aren't available for gwt compilation* > running: > > mvn compile > > no errors are found in the compilation phase, dagger 2 generated sources > land in *target/generated-so

Re: GWT & Dagger 2

2015-02-24 Thread Jens
> What's the best way to include your PR ( > https://github.com/google/dagger/pull/119) in a project? > Its a branch in my dagger fork that you can simply build and install into your local repo: https://github.com/jnehlmeier/dagger/tree/gwt-integration -- J. -- You received this message bec

Re: GWT & Dagger 2

2015-02-24 Thread Vasco Andrade Silva
Jens thank you for your reply. What's the best way to include your PR ( https://github.com/google/dagger/pull/119) in a project? On Tuesday, February 24, 2015 at 1:54:57 PM UTC, Jens wrote: > > You need to add the generated sources as Eclipse source folder to make > them usable in Eclipse, e.g.:

Re: GWT & Dagger 2

2015-02-24 Thread Jens
You need to add the generated sources as Eclipse source folder to make them usable in Eclipse, e.g.: http://stackoverflow.com/questions/7160006/m2e-and-having-maven-generated-source-folders-as-eclipse-source-folders Maybe the above also fixes the gwt:compile class path issue. For successful GW

Re: GWT & Dagger 2

2015-02-24 Thread Vasco Andrade Silva
Errata: """ The project class paths that are included in GWT compile command are: /path/to/project/target/tmp/WEB-INF/classes */path/to/project/src/main/java* """ On Tuesday, February 24, 2015 at 1:29:17 PM UTC, Vasco Andrade Silva wrote: > > Hi all, > > I've been trying Dagger 2 with GWT and hav

GWT & Dagger 2

2015-02-24 Thread Vasco Andrade Silva
Hi all, I've been trying Dagger 2 with GWT and have been fighting to get things working. Could someone help? My pom: com.google.dagger dagger 2.0-SNAPSHOT com.google.dagger dagger-compiler 2.0-SNAPSHOT true [...] org.codehaus.mojo gwt-maven-plugin ${gwtVersion} compile