10 MB increase of the size of the web app directory with the generated JS files

46 views
Skip to first unread message

haluk

unread,
Oct 12, 2011, 7:56:23 AM10/12/11
to Google Web Toolkit
The size of my web app directory under the "war" file that contains
the generated JavaScript files was 2 MB when I was using the GWT
version 2.0, but recently increased to 12 MB when I switched to GWT
version 2.4.

The only external module that I included is local storage library (gwt-
html5-storage.jar) that was necessary in order to get the Local
Storage working with ie8. The rest is the standard GWT 2.4 stuff.

Am I doing something wrong, or is it normal with GWT 2.4?

Is there any way of reducing the size of this web app directory as I
am not using any of the remote RPC or serialization modules?

Sudhakar Abraham

unread,
Oct 12, 2011, 8:35:16 AM10/12/11
to Google Web Toolkit
In gwt 2.4.0 is having more additional functionality. Gwt 2.0 had gwt-
dev.jar, gwt-servlet.jar, gwt-user.jar, gwt-api-checker.jar, gwt-soyc-
vis.jar, gwt-servlet-deps.jar only. But gwt 2.4.0 is having more
number of jars ( mainly requestfactory jars ).

S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE

Ashwin Desikan

unread,
Oct 12, 2011, 8:43:44 AM10/12/11
to google-we...@googlegroups.com, Google Web Toolkit
Don't worry. It's because of the additional jars.

Thanks
Ashwin

Sent from my iPhone

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

haluk

unread,
Oct 12, 2011, 10:33:41 AM10/12/11
to Google Web Toolkit
Thanks a lot guys, much appreciated.

Does that size have any direct effect on the initial load up time of
my application though, if you excuse my ignorance?


On Oct 12, 3:43 pm, Ashwin Desikan <ashwin.desi...@gmail.com> wrote:
> Don't worry. It's because of the additional jars.
>
> Thanks
> Ashwin
>
> Sent from my iPhone
>

Thomas Broyer

unread,
Oct 12, 2011, 11:46:01 AM10/12/11
to google-we...@googlegroups.com
Check the WEB-INF/deploy subfolder. If you don't care about remote logging (client sending logs to server) and stack-trace deobfuscation, you can safely delete it altogether.

...and you can pass the -deploy option to the compiler to output the files elsewhere.

haluk

unread,
Oct 12, 2011, 1:24:28 PM10/12/11
to Google Web Toolkit
Thank you kindly for the valuable information Thomas, really
appreciated...
Reply all
Reply to author
Forward
0 new messages