Disabling symbol maps

310 views
Skip to first unread message

Erik Kuefler

unread,
Nov 11, 2015, 3:24:24 PM11/11/15
to GWT Users
I'm trying to prevent GWT from generating .symbolMap files, since these are too large to upload to AppEngine and I'm using my own linker to generate an alternative. The same issue was brought up 4 years ago: https://groups.google.com/forum/#!topic/google-web-toolkit/Py-D0oV68fg.

Adding <set-property name="compiler.useSymbolMaps" value="false"/> doesn't seem to do anything, even though it looks like it should. Using the suggestion from the old thread about making my linker remove the symbolMap artifacts doesn't work, maybe because my linker is running before the symbol map one. Defining a custom linker over the top of the symbol map one doesn't work, since it looks like that linker is now also used to generate source maps for dev mode, which I need.

Is there another option or a way to get set-property working? Right now my only option if a script that removes these outside of the GWT compiler.

Thomas Broyer

unread,
Nov 11, 2015, 7:30:25 PM11/11/15
to GWT Users
IIRC, passing a -deploy to the compiler will make it emit the symbolMaps outside your webapp (assuming -deploy points outside the webapp) and solve the AppEngine issue 

Erik Kuefler

unread,
Nov 12, 2015, 3:07:44 AM11/12/15
to google-we...@googlegroups.com
That doesn't quite solve my case since I do want some deploy artifacts (from my custom linker) to be available inside by webapp, just not the symbol maps. And idea why the compiler.useSymbolMaps property isn't doing what it seems like it should?

--
You received this message because you are subscribed to a topic in the Google Groups "GWT Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-web-toolkit/3I4RSnPcCzY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-web-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages