Have you checked out gwt-exporter yet? It should achieve what you're talking about with a minimal amount of overhead.
--To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Fi-Tgq2tIiUJ.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
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"