Thursday, June 29, 2017

Re: GWT 2.8.1 release

Issue https://github.com/gwtproject/gwt/issues/9533

I'll create a patch.

On Thursday, June 29, 2017 at 2:15:19 PM UTC+3, Thomas Broyer wrote:
You're right!

Could one of you file an issue and/or send in a patch?
http://www.gwtproject.org/makinggwtbetter.html

On Thursday, June 29, 2017 at 12:08:55 PM UTC+2, Alexander Leshkin wrote:
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.

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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment