Wednesday, December 14, 2016

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 <gardellajuanpablo@gmail.com> wrote:

On Wed, 14 Dec 2016 at 20:03 Raphael André Bauer <raphael.andre.bauer@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+unsubscribe@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+unsubscribe@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+unsubscribe@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.

No comments:

Post a Comment