You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Michael Gentry <mg...@masslight.net> on 2010/09/02 16:00:00 UTC

Re: [VOTE] 3.0.1 - reloaded

Is it expected that the checksums are different between building the
source and the binary distribution?

~/Downloads/cayenne-3.0.1-src> md5
framework/cayenne-server/target/cayenne-server-3.0.1.jar
MD5 (framework/cayenne-server/target/cayenne-server-3.0.1.jar) =
b89a57ebe8e5f95bfb24ddb0f2197184

~/Downloads/cayenne-3.0.1/lib> md5 cayenne-server-3.0.1.jar
MD5 (cayenne-server-3.0.1.jar) = 9be9cc7c518839a3965374f7f44b5bb9

I suppose there could be compiler differences.

Thanks,

mrg

Re: [VOTE] 3.0.1 - reloaded

Posted by Mike Kienenberger <mk...@gmail.com>.
If you're talking about building your own jar, it will be different.

The easiest thing to do is to drop both jars in an eclipse project,
select both files, then do a compare with each other.

This will compare each file in the jar.   What you'll find (what I
found) is that there are two datestamps of when the jar was compiled
in the jar, and those are the only two differences.


On Thu, Sep 2, 2010 at 10:00 AM, Michael Gentry <mg...@masslight.net> wrote:
> Is it expected that the checksums are different between building the
> source and the binary distribution?
>
> ~/Downloads/cayenne-3.0.1-src> md5
> framework/cayenne-server/target/cayenne-server-3.0.1.jar
> MD5 (framework/cayenne-server/target/cayenne-server-3.0.1.jar) =
> b89a57ebe8e5f95bfb24ddb0f2197184
>
> ~/Downloads/cayenne-3.0.1/lib> md5 cayenne-server-3.0.1.jar
> MD5 (cayenne-server-3.0.1.jar) = 9be9cc7c518839a3965374f7f44b5bb9
>
> I suppose there could be compiler differences.
>
> Thanks,
>
> mrg
>

Re: [VOTE] 3.0.1 - reloaded

Posted by Andrus Adamchik <an...@objectstyle.org>.
Yes. There are few metadata files in the jars that contain build timestamps (some are ours, some are Maven created IIRC). There may be other cases I can't remember off hand (such as jar utility not producing repeatable results).

Andrus

On Sep 2, 2010, at 5:00 PM, Michael Gentry wrote:

> Is it expected that the checksums are different between building the
> source and the binary distribution?
> 
> ~/Downloads/cayenne-3.0.1-src> md5
> framework/cayenne-server/target/cayenne-server-3.0.1.jar
> MD5 (framework/cayenne-server/target/cayenne-server-3.0.1.jar) =
> b89a57ebe8e5f95bfb24ddb0f2197184
> 
> ~/Downloads/cayenne-3.0.1/lib> md5 cayenne-server-3.0.1.jar
> MD5 (cayenne-server-3.0.1.jar) = 9be9cc7c518839a3965374f7f44b5bb9
> 
> I suppose there could be compiler differences.
> 
> Thanks,
> 
> mrg
>