Re: IDEs, Dagger2 and annotationProcessorPaths
Absolutely right - it's not a Dagger2 issue at all. As dumb user of Dagger2 it's nevertheless unfortunate that the tooling aka IDE / Maven integration is not (yet) up to the job... I mean - Dagger2 was released 1.5 years ago... Best, Raphael On Sat, Dec 17, 2016 at 9:50 AM, Thomas Broyer wrote: > Nothing to do with Dagger proper, it's a Maven and IDE integration issue. > annotationProcessorPaths of maven-compiler-plugin is quite new (and with > issues on its own) and it's not really surprising that IDEs haven't caught up > yet. > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
Nothing to do with Dagger proper, it's a Maven and IDE integration issue. annotationProcessorPaths of maven-compiler-plugin is quite new (and with issues on its own) and it's not really surprising that IDEs haven't caught up yet. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
Thanks for all the hints. maven-processor-plugin seems to work with the IDEs, but I will have to do some more testing. A bit unfortunate that tooling for Dagger2 does not work out of the box... Cheers, Raphael On Thu, Dec 15, 2016 at 8:37 PM, Lars wrote: > Thanks for the answer! I tried to put it to the Dagger Discuss group, but > without luck/access to post. But may could give stackoverflow a try... > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
Thanks for the answer! I tried to put it to the Dagger Discuss group, but without luck/access to post. But may could give stackoverflow a try... -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
This is a Dagger question and Dagger support is done on StackOverflow. But no I don't think you can use the incremental compiler (people have similar issues with Android/Gradle builds with the new incremental Jack toolchain) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
Does Dagger2 annotation processor supports the Eclipse incremental compiler? I setup Dagger2 with the sample app and after a full compile (after cleaning the project) everything works fine, but after small changes (module or component) and only an incremental compiler run nothing is updated (and errors are shown in the Eclipse log). Is this normal and if not how could I fix this, because full compiler runs are expensive. Thanks -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
I prefer to use maven-processor-plugin because I usually get better IDE integration. I use intellij, but from time to time I'll try it in eclipse and I think it work. https://github.com/ibaca/gwt-dagger2-coffee/blob/master/pom.xml On Thu, Dec 15, 2016 at 2:49 AM Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: Check http://stackoverflow.com/a/35744298/741689 On Wed, 14 Dec 2016 at 20:03 Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: Hi, I am just playing around with GWT 2.8 and Dagger 2.8. I added Dagger 2 via the compiler plugin and the Dagger compiler to annotationProcessorPaths. When running mvn compile on the command line everything is fine. The generated DaggerMyAppComponent is generated properly and can be used in the source code. I can also use everything in GWT. Awesome. So far so good. Unfortunately neither Netbeans 8.2 nor Eclipse Neon recognize the generated Dagger files. I have those wonderful red lines below autogenerated components. And even though java and class files are present in the target directory - the IDEs do not want to recognize those classes. Clean compile in the IDEs does not seem to work. I am just wondering whether I am the only one with that problem, or how others solved that issue regarding the IDE integration. Thanks! Raphael -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: IDEs, Dagger2 and annotationProcessorPaths
Check http://stackoverflow.com/a/35744298/741689 On Wed, 14 Dec 2016 at 20:03 Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: > Hi, > > > I am just playing around with GWT 2.8 and Dagger 2.8. I added Dagger 2 > via the compiler plugin and the Dagger compiler to > annotationProcessorPaths. When running mvn compile on the command line > everything is fine. The generated DaggerMyAppComponent is generated > properly and can be used in the source code. I can also use everything > in GWT. Awesome. > > So far so good. Unfortunately neither Netbeans 8.2 nor Eclipse Neon > recognize the generated Dagger files. I have those wonderful red lines > below autogenerated components. And even though java and class files > are present in the target directory - the IDEs do not want to > recognize those classes. Clean compile in the IDEs does not seem to > work. > > I am just wondering whether I am the only one with that problem, or > how others solved that issue regarding the IDE integration. > > > Thanks! > > > Raphael > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.