cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: [VOTE] Cayenne 3.1M3
Date Mon, 19 Sep 2011 13:03:56 GMT
Hi Andrus,

I just did a build at work and get the same file size as in the .dmg:

> find . -name AutoAdapter.class -exec ls -l {} \;
-rw-r--r--  1 mgentry 8274 Sep 19 08:56
./framework/cayenne-client/target/aggregate/unpack-bin/org/apache/cayenne/dba/AutoAdapter.class
-rw-r--r--  1 mgentry 8274 Sep 19 08:56
./framework/cayenne-jdk1.5-unpublished/target/classes/org/apache/cayenne/dba/AutoAdapter.class
-rw-r--r--  1 mgentry 8274 Sep 19 08:56
./framework/cayenne-server/target/aggregate/unpack-bin/org/apache/cayenne/dba/AutoAdapter.class

I'm going to chalk this up to a slight difference in Java on Snow
Leopard vs Lion and continue testing.

Thanks!

mrg


On Mon, Sep 19, 2011 at 2:20 AM, Andrus Adamchik <andrus@objectstyle.org> wrote:
> Hi Michael,
>
> Not sure what's the deal with it, but the same class size is produced from the src build
again and again for me:
>
> 1. cd ~/work/cayenne-git && git svn fetch && git checkout -b 3.1M3 tags/3.1M3
>
> 2. # /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src is unarchived src release. There are
no changes in the file contents between the tag checkout and the release:
>
> ~/work/cayenne-git: diff -u -r . ~/Desktop/3.1M3/cayenne-3.1M3-src/
> Only in .: .DS_Store
> Only in .: .git
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/: LICENSE.txt
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/: NOTICE.txt
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/docs/docbook/main/src: images
> Only in .: eclipse
> Only in ./framework/cayenne-jdk1.5-unpublished: derby.log
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/ashwood:
dbutil
> Only in ./framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/exp/parser:
.DS_Store
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne:
project
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne:
project
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/framework/cayenne-jdk1.5-unpublished/src/test/java/org/apache/cayenne/testdo:
consttest
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/framework/cayenne-jdk1.5-unpublished/src/test/resources:
i18n
> Only in ./framework/cayenne-wocompat-unpublished/src/test/resources/wotests: .cvsignore
> Only in ./framework/cayenne-wocompat-unpublished/src/test/resources/wotests/wotests.xcode:
.cvsignore
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/itests: cayenne-di-stack
> Only in /Users/andrus/Desktop/3.1M3/cayenne-3.1M3-src/itests: itest-common
> Only in ./tutorials/tutorial: derby.log
>
>
> 3. cd ~/Desktop/3.1M3/cayenne-3.1M3-src/ && mvnc clean install
> ~/Desktop/3.1M3/cayenne-3.1M3-src: jar tvf framework/cayenne-server/target/cayenne-server-3.1M3.jar
 | grep Auto
>  2706 Mon Sep 19 09:10:00 EEST 2011 org/apache/cayenne/dba/AutoAdapter$1.class
>  8274 Mon Sep 19 09:10:00 EEST 2011 org/apache/cayenne/dba/AutoAdapter.class
>
> So the binaries do correspond to the signed version of the release, which corresponds
to the SVN tag contents.
>
> Andrus
>
>
> On Sep 18, 2011, at 4:50 PM, Michael Gentry wrote:
>
>> Hi Andrus,
>>
>> When I compared the distributed JARs (in the .dmg) vs building the
>> JARs from the source .tar.gz, I discovered AutoAdapter.class is
>> different in the server JAR.
>>
>> Built:
>>
>> ls -l cayenne-server/target/aggregate/unpack-bin/org/apache/cayenne/dba/AutoAdapter.class
>> -rw-r--r--  1 mrg  mrg  8211 Sep 18 09:14
>> cayenne-server/target/aggregate/unpack-bin/org/apache/cayenne/dba/AutoAdapter.class
>>
>> Distribution:
>>
>> jar tvf cayenne-server-3.1M3.jar  | grep Auto
>>  2706 Tue Sep 13 20:53:12 EDT 2011 org/apache/cayenne/dba/AutoAdapter$1.class
>>  8274 Tue Sep 13 20:53:12 EDT 2011 org/apache/cayenne/dba/AutoAdapter.class
>>
>> 8211 != 8274.  This is the only class that differed in the 4 JARs and
>> is the first time since I've started comparing the source distribution
>> to the binary distribution that I've had a class difference.  (I
>> expect MANIFEST.MF and pom.properties to contain different
>> username/timestamps.)  My first guess is that maybe the September 14
>> commit had slipped into the source:
>>
>> http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/dba/AutoAdapter.java?r1=1144733&r2=1170516&diff_format=f
>>
>> However, the source package included the July 9 revision.  Any thoughts?
>>
>> Thanks,
>>
>> mrg
>>
>
>

Mime
View raw message