Wednesday, June 28, 2017

Re: GWT 2.8.1 release

Thanks for your reply, Thomas.

I am using Brandon's Eclipse plugin. I thought a space would be a separator for parameters; this is working for e.g. the -war parameter. My arguments for the CodeServer:
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl XXX.html -logLevel INFO -codeServerPort 9997 -port 8888 -generateJsInteropExports -includeJsInteropExports a.b.c -war D:\XXX\XXX\war com.XXX.XXX.XXX

Not using any quotes; they seem to get eliminated from the arguments string anyway by Eclipse.

Kind regards,
Max

Am Mittwoch, 28. Juni 2017 14:42:49 UTC+2 schrieb Thomas Broyer:


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