Friday, April 24, 2015

Re: JsInterop code seems to compile out @JsExport code in GWT 2.8.0

I'm working on a JsInterop-enabled project with 2.8.0 SNAPSHOT and don't have that problem. Mind you, I had a lot of issues getting this to work in the first place. Have a look at this simple test project and try to build it:

On Friday, April 24, 2015 at 6:40:06 AM UTC+2, Alex W wrote:
If I run the codeserver my jsinterop code runs fine. I can open the chrome inspector and instantiate @JsExported java objects.

But if I do a mvn clean compile gwt:compile package I can't see my exported symbols in my code. They seem to be compiled out.
I tried this with: <gwt.draftCompile>true</gwt.draftCompile> on both true and false. No help. Has anyone else experienced this, or able to provide advice on how to fix?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment