symbolMap files and packaging gwt project

277 views
Skip to first unread message

Ali Thabet

unread,
Jun 20, 2012, 10:59:56 AM6/20/12
to google-we...@googlegroups.com
Hello,

My problem is that the war of my GWT project has a large size. So I want, if possible, delete unused files from the war. There are several symbolMap files in WEB-INF/deploy/my_project_name/symbolMapps/ (the same number of permutations), i know that they are useful fo deobfuscation, but in my case i do not use them.

Is it possible to remove these files from the project war?

Thank you in advance.

Thomas Broyer

unread,
Jun 20, 2012, 11:51:58 AM6/20/12
to google-we...@googlegroups.com
Not only can you remove them, but you can more simply generate them outside it: pass the -deploy argument to the GWT compiler followed by a folder to output the files to.

Ali Thabet

unread,
Jun 21, 2012, 9:12:12 AM6/21/12
to google-we...@googlegroups.com
Thak you for your Response Thomas.
Finally, i decided to keep these files. I took a look to the beautifull interface GWT.UncaughtExceptionHandler witch "is used to catch exceptions at the top level jest before they escape to the browser", i have seen also the GWT Developer's Guide - Logging and the class StackTraceDeobfuscator. It seems eazy to send log messages to the server and have understandable stack traces from client, so why not! :)

Deepak Singh

unread,
Jun 21, 2012, 10:56:11 AM6/21/12
to google-we...@googlegroups.com
Yes, we can set -deploy outside the war while compiling.

But when we deploy app to appengiene through eclipse, it compiles the app and sets the deploy folder in war location.
Here i did not find any option to set -deploy outside war while deploying through eclipse.

Can you pls guide on this?

On Thu, Jun 21, 2012 at 6:42 PM, Ali Thabet <thabet...@gmail.com> wrote:
Thak you for your Response Thomas.
Finally, i decided to keep these files. I took a look to the beautifull interface GWT.UncaughtExceptionHandler witch "is used to catch exceptions at the top level jest before they escape to the browser", i have seen also the GWT Developer's Guide - Logging and the class StackTraceDeobfuscator. It seems eazy to send log messages to the server and have understandable stack traces from client, so why not! :)

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



--
Deepak Singh

Deepak Singh

unread,
Jun 27, 2012, 2:42:41 AM6/27/12
to google-a...@googlegroups.com, google-we...@googlegroups.com
Hi,


But when we deploy app to appengiene through eclipse, it compiles the app and sets the deploy folder in war location.
Here i did not find any option to set -deploy outside war while deploying through eclipse.

It consumes the project size on app engiene.

Any idea...
--
Deepak Singh
Reply all
Reply to author
Forward
0 new messages