I think you need to add the "goomph" plugin to your build.gradle, close the project, then run the shell script below, then open the project and do a clean.
apply plugin: 'com.diffplug.eclipse.apt' //Required for apt processing in Eclipse.
The shell script:
#!/bin/bash
On Sat, Feb 27, 2021 at 5:06 AM Gordan Krešić <gordan.kresic@steatoda.com> wrote:
Did anyone got Eclipse to invoke annotation processor from gwt-places module
that should generate PlaceHistoryMapper implementations?
I have interface that extends org.gwtproject.place.shared.PlaceHistoryMapper
and is annotated with org.gwtproject.place.shared.WithTokenizers. I'm
creating instances by instancing class with my class name suffixed with "Impl".
However, it seems Eclipse doesn't run annotation processor and consequently
can't find implementation class.
Gradle build works fine.
I even explicitly specified gwt-places-processor.jar in project settings in
Eclipse (Java Compiler -> Annotation Processing -> Factory Path), but folder
where generated files should be placed (.apt_generated) is still empty.
Any ideas?
Sidenote: it seems Eclipse has some issue with annotation processors
classpath, because I had to add auto-common.jar (PlaceHistoryMapperProcessor
is based on BasicAnnotationProcessor from auto-common) on Factory Path, too.
-gkresic.
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/0ff5fa68-0de1-f84e-8298-5c6a16c19b64%40steatoda.com.
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 view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAFHWztzM_aSvmBC-ZxCapSvYesXHA9wvV-11gV2POdroPuw%3DsA%40mail.gmail.com.
No comments:
Post a Comment