I'm sorry, I cannot confirm. I just tested by downloading the gwt-2.11.0.zip, and editing the Hello sample included to have a new JsMethod. Then I edited the "gwtc" target in the sample's build.xml by adding generateJsInteropExports and a _deliberately wrong_ expression for -includeJsInteropExports, and confirmed that the method was not exported. Then I changed the pattern to one that made sense, ran the compiler again, and confirmed that I could access the simple method.
Can you please share a simple example of what exactly isn't working? The Hello sample included in the SDK for 2.11 uses ant, so this isn't likely a build tool issue - you should be able to reproduce it there and share the complete project that isn't working.
On Monday, February 2, 2026 at 5:53:36 PM UTC-6 chakl...@gmail.com wrote:
Both DevMode/codeserver and gwtc do not work in GWT 2.11.When passing the argument to the codeserver, it get the error and won't start.When passing the argument to compiler (using Ant), it compiles but the JsInteropExports is missing.Thanks.On Monday, February 2, 2026 at 12:35:07 PM UTC-5 Colin Alworth wrote:Note that the linked issue and fix is specific to running DevMode, not the compiler itself, but you seem to be having issues with the compiler?On Monday, February 2, 2026 at 11:03:27 AM UTC-6 chakl...@gmail.com wrote:Just found out that the bug fix is merged to 2.12I guess I will try it when I migrate my application to GWT 2.12Thanks.On Friday, January 30, 2026 at 7:09:40 PM UTC-5 Craig Mitchell wrote:Are you using the gwt-maven-plugin?I think you'd do it something like this:<compilerArgs><arg>-generateJsInteropExports</arg><arg>-includeJsInteropExports</arg><arg>com.nyct.client.ui.widget.StreetMap.north</arg></compilerArgs>On Saturday, 31 January 2026 at 10:22:30 am UTC+11 Chak Lai wrote:Hi,I am trying to include compiler option -includeJsInteropExports in GWT 2.11, but it gives me an error.Here is my parameters-generateJsInteropExports-includeJsInteropExports com.nyct.client.ui.widget.StreetMap.northError:-includeJsInteropExports regex cannot start with '+' or '-'Note:com.nyct.client.ui.widget.StreetMap.north is a method in my object.
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 visit https://groups.google.com/d/msgid/google-web-toolkit/7ff8e76d-9eae-48b4-9cdb-9ff3d33dec83n%40googlegroups.com.
No comments:
Post a Comment