Re: GWT & Dagger 2

2015-02-24 Thread Vasco Andrade Silva
y, February 24, 2015 at 5:07:04 PM UTC, Thomas Broyer wrote: > > > > 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:

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 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, > &

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

Re: Troubles Getting Started with JsInterop

2015-02-14 Thread Vasco Andrade Silva
ace no more (it only worked with @JsExport without arguments) - I also tested with @JsExport("$wnd.") without success - I couldn't mage to @JsExport to work with @JsType (not sure if I did and understand everything correctly) On Saturday, February 14, 2015 at 8:12:4

Re: Troubles Getting Started with JsInterop

2015-02-14 Thread Vasco Andrade Silva
Thank you Jens for your comment. So my *Issue #1 *is closed until the JS.js method (or other alike) is out. By the way isn't there any library you know that has an implementation for a method like that? However I was lazy regarding my copy for *Issue #2 *as I had the Foo class public - didn't

Re: Troubles Getting Started with JsInterop

2015-02-14 Thread Vasco Andrade Silva
lthough you can never be sure with an open source project. I don't > know how to fix you're exporting problem but I wasn't able to get it > working either. The release notes did say that there'd be bugs and this > might be one of them. > > On Friday, February

Troubles Getting Started with JsInterop

2015-02-13 Thread Vasco Andrade Silva
Hi all, I'm just starting with JsInterop but I can't figure out why some of the things aren't working. First thing first: I'm using GWT 2.7 and I've setup maven/pom with "-XjsInteropMode" via "JS" configuration: org.codehaus.mojo gwt-maven-plugin ${gwtVersion} […] […] JS