Hi Wido,

I agree with you that this is because of the difference of jdk version and
operating system.

However, I compiled the source code in Ubuntu 12.04 with openJDK, the
generated cloud-server.jar is completely the same to that in Windows 7.

Should CloudStack announce the compiling environment, such as the version
of mvn, jdk and eclipse?

My compiling environment is
weizhou@kvm001:~/CloudStack/apache-cloudstack-4.0.0-incubating-src$ mvn -v
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
Maven home: /home/weizhou/CloudStack/apache-maven-3.0.4
Java version: 1.6.0_24, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-35-virtual", arch: "amd64", family: "unix"
King regards,

Wei ZHOU

2013/1/4 Wido den Hollander <w...@widodh.nl>

> Hi,
>
>
> On 01/04/2013 01:24 PM, Wei ZHOU wrote:
>
>> The first cloud-server.jar is extracted from
>> cloud-server_4.0.0-incubating_**amd64.deb<http://cloudstack.**
>> apt-get.eu/ubuntu/dists/**precise/4.0/pool/cloud-server_**
>> 4.0.0-incubating_amd64.deb<http://cloudstack.apt-get.eu/ubuntu/dists/precise/4.0/pool/cloud-server_4.0.0-incubating_amd64.deb>
>> >
>>
>> which
>> is downloaded from
>> http://cloudstack.apt-get.eu/**ubuntu/dists/precise/4.0/pool/<http://cloudstack.apt-get.eu/ubuntu/dists/precise/4.0/pool/>
>>
>> The other cloud-server-4.0.0-incubating-**SNAPSHOT.jar is build by me
>> from
>> the source code which is downloaded from
>> http://incubator.apache.org/**cloudstack/downloads.html<http://incubator.apache.org/cloudstack/downloads.html>
>> .
>> The version of maven and jdk is listed as below.
>>
>> C:\Users\>mvn -v
>> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
>> Maven home: D:\Program Files\apache-maven-3.0.4
>> Java version: 1.7.0_09, vendor: Oracle Corporation
>> Java home: C:\Program Files\Java\jdk1.7.0_09\jre
>> Default locale: en_GB, platform encoding: GBK
>> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>>
>> I extract the jars to two directores, and compare the directories by
>> Beyond
>> Compare 3.
>> The results show that 753 files are same, 175 files are different.
>>
>> Can some one tell me what cause the difference, besides the different
>> version of JDK?
>> Do it matter if I replace cloud-server.jar  with the
>> cloud-server-4.0.0-incubating-**SNAPSHOT.jar I build?
>>
>>
> I've been thinking about this over and over and can't come up with a good
> answer.
>
> The packages were build from the source code you downloaded from the
> website.
>
> They were build on a Ubuntu 12.04 system with OpenJDK 6 from the Ubuntu
> repos.
>
> For now I can't tell you what caused this.
>
> Wido
>

Reply via email to