Monday, April 28, 2014

Re: GWT compiler produces different hashes for .cache.html files on each compile



On Monday, April 28, 2014 2:46:33 PM UTC+2, agentorange wrote:
Hi Rocco,

thank you for your reply. Unfortunately another team manages deployments for this product, and I am not in a position to alter the path they've chosen. 

Anyway, I would love to know if this change in behaviour of the GWT compiler was intended.

I strongly believe is NOT intentional.
But it could also be produced by some generators that don't guarantee a stable output (AFAICT, those in GWT proper are OK, but third-party ones can be the culprit here)
 
I noticed that only some permutations are affected. For the time being I will try replacing linkers to work around this issue.

Try diffing the files to see what the differences are. If you reproduce them with -style PRETTY, or simply -draft, that would make the diff easier to read, to be able to find the culprit (generator, compiler, linker)
And if it doesn't come from a third-party library, please file a bug.

BTW, do (did) you also reproduce the behavior with an earlier version of GWT?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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