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 >
