Monday, April 28, 2014

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

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 noticed that only some permutations are affected. For the time being I will try replacing linkers to work around this issue.

Best regards,––
Olaf (@agentorange)


On Monday, April 28, 2014 1:34:15 PM UTC+2, Rocco De Angelis wrote:

Hi agentorange,

I agree with you that it would be nice if I restart the compiler without any changes the same result will be produced.
But compiling a version for each node behind the load balancer sounds very strange for me. 
I would expect that the application will be compiled once and this output deployed to the different nodes?

BR
Rocco




Am Montag, 28. April 2014 12:30:12 UTC+2 schrieb agentorange:
I am having issues when deploying a GWT application to nodes behind a load balancer. Each node checks out and compiles the same branch, and thereby the same source code, but the the strong names for .cache.html files are different on each node. 

So I created a blank project in eclipse and compiled it multiple times without changing the source code to replicate this issue locally, and it can be reproduced. According to the FAQ, this should not be the case (see below). But maybe this behaviour has changed over time?

Compiler version is GWT 2.6.0

They are named according to the MD5 sum of their contents. This guarantees deterministic behavior by the GWT Compiler: if you recompile your application without changing code, the contents of the output will not change, and so the MD5 sums will remain the same.

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