You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
includeJsInteropExports/excludeJsInteropExports arguments cannot be used when launching application with com.google.gwt.dev.DevMode. It comes because The RegexFiler add an +or - and in SuperDevListener the additional +will not be removed which leads to an error because +/- is not allowed there.
This happen for example in Intellij with GWT Run Configration because it uses the DevMode
Code with issue:
for (String regex : options.getJsInteropExportFilter().getValues()) {
if (regex.startsWith("-")) {
args.add("-excludeJsInteropExports");
args.add(regex.substring(1));
} else {
args.add("-includeJsInteropExports");
args.add(regex);
}
}
GWT version: 2.11.0
Browser (with version):
Operating System:
Description
includeJsInteropExports/excludeJsInteropExports arguments cannot be used when launching application with com.google.gwt.dev.DevMode. It comes because The RegexFiler add an
+
or-
and in SuperDevListener the additional+
will not be removed which leads to an error because +/- is not allowed there.This happen for example in Intellij with GWT Run Configration because it uses the DevMode
Code with issue:
Possible solution:
IC will test it the days and can create a Pull Request then if the solution sounds ok.
Steps to reproduce
Error Message:
The wrong part is in my opinion: -includeJsInteropExports, +com.google.*
Links to further discussions
The text was updated successfully, but these errors were encountered: