GWT 2.11 compiler option -includeJsInteropExports gives an error

21 views
Skip to first unread message

Chak Lai

unread,
Jan 30, 2026, 6:22:30 PM (3 days ago) Jan 30
to GWT Users
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.north


Error:
-includeJsInteropExports regex cannot start with '+' or '-'



Note:
com.nyct.client.ui.widget.StreetMap.north is a method in my object.



Craig Mitchell

unread,
Jan 30, 2026, 7:09:40 PM (3 days ago) Jan 30
to GWT Users
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>

Chak Lai

unread,
12:03 PM (4 hours ago) 12:03 PM
to GWT Users
Just found out that the bug fix is merged to 2.12



I guess I will try it when I migrate my application to GWT 2.12


Thanks.

Colin Alworth

unread,
12:35 PM (4 hours ago) 12:35 PM
to GWT Users
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?
Reply all
Reply to author
Forward
0 new messages