That is a nice idea. Actually compiling modules as separate entities was 
definitely something would helped. ModuleCompiler that was producing gwtar 
output, but looks like it was dropped in 2.8. 

Now I wonder if that approach is applicable to us. We have a pretty 
extensive "common" module, which provides some shared services, eg. for 
syncing data with server. Then we have also our widgets, shared resources, 
etc. Then we have modules with views of various parts of our system (eg. 
configuration, reporting, ...). Everything is a GWTP application.

I can potentially imagine that we can move implementation of GWTP 
presenters & views into those separate GWT applications, but still would 
need to make stubs for every name token in the GWTP "master" application. 
But at the end GWTP is inserting widgets into UI slots. The widgets from 
different GWT applications at the same page, would have nothing in common, 
so would they work together (put a widget from one app, into second)? I 
guess would need to expose some widget wrapper, that would pass some basic 
widget lifecycle events. And of course, each GWT app would have its version 
of base GWT widgets, as I couldn't import those from same base module into 
every app. At least unless we switched the widgets out for GWT widget 
system.

Am I on the right track? Looks really heavy refactoring ...

Thanks,
Marcin

On Monday, 10 April 2017 21:34:10 UTC+2, Daniel Kurka wrote:
>
> There is a whitelist / blacklist to control that.
>
> On Mon, Apr 10, 2017 at 12:30 PM Kirill Prazdnikov <pki...@gmail.com 
> <javascript:>> wrote:
>
>> As far as I know this will add lots of GWT internal stuff which I not 
>> going to export. Right ? 
>>
>> понедельник, 10 апреля 2017 г., 21:57:33 UTC+3 пользователь Daniel Kurka 
>> написал:
>>
>>> If you compile your gwt app with -generateJsInteropExports any @JsType 
>>> is accessible in global scope:
>>>
>>>>
>>>> -- 
>> 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+unsubscr...@googlegroups.com <javascript:>.
>> To post to this group, send email to google-we...@googlegroups.com 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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+unsubscr...@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.

Reply via email to