> I am using GWT 2.8.0-SNAPSHOT, but the new annotations does not work for > me. > > I tried using @JsType(namespace = "acme", name = "MyJavaScriptObject"), > as described in the new version of the JsInterop document, but apparently > the namespace and name attributes are not there in the jar file. > Same thing with the @JsExport and @JsNamespace, I currently have to use > them or things stop working. >
The new annotations have a different package: jsinterop.annotations. Also @JsExport does not exist anymore in the new JsInterop version, you just use @JsType. To activate the new annotations you also have to change the JsInterop mode via -jsInteropMode JS_RC -- J. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
