I've achieved a great code reduction by avoiding gwt widget stuff when
compiling as a js library. Basicaly I'm working directly with Element and
DOM classes. Each permutation is now ~10kb (Before it was ~20kb)

I'll experiment tuning my module's <inherits>

Currently it just inherits User.gwt.xml, which in turn inherits lots of
modules that I don't need, like:
Tree, RichText, History, Animation, etc.
While the compiler do a good job removing unused code, I'm wondering wether
those (and other) modules may still leave some "footprints"


On Tue, Dec 11, 2012 at 9:54 AM, Magno Machado <[email protected]> wrote:

> Thanks Joseph for the clientbundle sugestion. Until now, I'm not using any
> image/css/resources, it's just java[script] code. But in the future it may
> be useful!
>
> Regarding gwt-exporter, I don't think it will reduce the compiled js size,
>
>
> On Tue, Dec 11, 2012 at 7:41 AM, Thomas Broyer <[email protected]> wrote:
>
>>
>>
>> On Monday, December 10, 2012 7:28:13 PM UTC+1, Joseph Lust wrote:
>>>
>>> Have you checked out 
>>> gwt-exporter<http://code.google.com/p/gwt-exporter/>yet? It should achieve 
>>> what you're talking about with a minimal amount of
>>> overhead.
>>
>>
>> FYI, gwt-exporter was created by Ray Cromwell back when he worked
>> at/owned TimePedia, for exactly this purpose. You can see it at use in
>> Chronoscope: https://code.google.com/p/gwt-chronoscope/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-web-toolkit/-/Fi-Tgq2tIiUJ.
>>
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> Magno Machado Paulo
> http://blog.magnomachado.com.br
> http://code.google.com/p/emballo/
>



-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to