Looks like there is a bug
in
https://github.com/gwtproject/gwt/blob/a90832fec9a56f4cb83ed009c7048e0a8d196fe8/dev/core/src/com/google/gwt/dev/shell/SuperDevListener.java#L175
I think it should be:
args.add("-includeJsInteropExports");
args.add(regex);
And line above (for excludeJsInteropExports) has the same issue.
On Wednesday, June 28, 2017 at 3:42:49 PM UTC+3, Thomas Broyer wrote:
>
>
>
> On Wednesday, June 28, 2017 at 1:04:12 PM UTC+2, Max F wrote:
>>
>> Hello,
>>
>> first of all, thanks for GWT!
>> I am trying to make use of the new includeJsInteropExports flag while
>> using the CodeServer.
>> It seems that those new two switches need an extra "s": e.g.
>> -includeJsInteropExports instead of -includeJsInteropExport.
>>
>
> Thanks, I just fixed the release notes:
> https://github.com/gwtproject/gwt-site/commit/54403382872815bb4ee94224839b0dbeccad8935
> But the -generateJsInteropExports help message references the other two as
> singular instead of plural:
> https://github.com/gwtproject/gwt/blob/2.8.1/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerGenerateJsInteropExports.java#L32
>
>
>> But even then I did not succeed; CodeServer returns with:
>>
>> Unknown argument: -includeJsInteropExports a.b.c
>>
>
> How are you passing the arguments?
> It looks like you're passing "-includeJsInteropExports a.b.c" as a single
> argument, which indeed won't work. You need to pass 2 arguments:
> "-includeJsInteropExports" and "a.b.c".
>
>>
--
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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.