[rabbitmq-discuss] Plug-in out of date warnings when starting the RabbitMQ server on Windows
matthew at rabbitmq.com
Fri Nov 5 10:30:55 GMT 2010
On Fri, Nov 05, 2010 at 05:27:51AM -0500, Jon Rowland wrote:
> I've done a little bit of digging. It appears the detection of 'out of date' is just done on a file datetime comparison of the src versus beam versions. If I do the Windows equivalent of 'touch'-ing the .beam files, the warnings go away. So it looks like for whatever reason, the .beam files are getting a slightly older file datetime than the src files, causing the warnings. The file datetime is set by the 'unzip' so I'm not sure it's something you'll be able to control (unless you can somehow control the unzip order).
> Not a major problem for me but could be confusing for other newcomers.
Thanks for digging into this. I agree the warning is confusing. I wonder
whether if we specified the files to the zip command in a different
order we could avoid this. I bet zip is simple enough to just unpack in
the same (or reverse) order it packed in.
More information about the rabbitmq-discuss