GWT 2.11 compiler option -includeJsInteropExports gives an error

3 views
Skip to first unread message

Chak Lai

unread,
Jan 30, 2026, 6:22:30 PM (7 hours 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 (6 hours 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>

Reply all
Reply to author
Forward
0 new messages