Thursday, November 12, 2015

Re: Disabling symbol maps

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?

On Wed, Nov 11, 2015 at 4:30 PM, Thomas Broyer <t.broyer@gmail.com> wrote:


On Wednesday, November 11, 2015 at 9:24:24 PM UTC+1, Erik Kuefler wrote:
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.

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 

--
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-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment