Wednesday, April 20, 2016

Re: GWT app as includable javascript library

Yes. The SSO linker is what you want. See my example at: https://github.com/google/closure-compiler/blob/68002f860cc461daf04c089803fdff865d256e5e/src/com/google/JsComp.gwt.xml#L27.
Credit to Greg from: https://groups.google.com/d/msg/google-web-toolkit/D4_pJY-62x0/r555EF3YCQAJ.

On Thursday, April 21, 2016 at 12:55:47 AM UTC-4, Dmitry Skavish wrote:
hey everyone,

I am trying to understand how can I package my small gwt app as javascript library which can be used in other javascript code. 

Basically I need to build a bunch of java code into a single .js file which I can later include in a regular html page with <script> tag and call some methods defined in this gwt built js file.

Is that even possible?
​​

--
Dmitry Skavish

--
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