How to set build version
Medi Montaseri
medi.montaseri at hds.com
Fri Aug 22 01:13:39 UTC 2014
Trying build-dev at openjdk.java.net
I think the jtreg-dev was a wrong DL to begin with.
Medi
________________________________
From: Medi Montaseri
Sent: Thursday, August 21, 2014 3:03 PM
To: jtreg-dev at openjdk.java.net
Subject: How to set build version
Hi,
I currently get the following version info when I build my JDK
java -version
openjdk version "1.8.0-20140820"
OpenJDK Runtime Environment (build 1.8.0-20140820-mmontaseri_2014_08_20_18_26-b00)
OpenJDK 64-Bit Server VM (build 25.0-b69, mixed mode)
Note the "mmontaseri" in the build-id, this token "mmontaseri" is the value of $USER who build it.
>From jdk8src/common/autoconf/generated-configure.sh , I deduced that this can be changed via USER_RELEASE_SUFFIX which on the configure line, one would say
./configure --with-user-release-suffix=HDS --with-build-number=nnnn
After doing so, I see the following in the spec.gmk file
egrep -e 'USER_RELEASE_SUFFIX|COOKED_BUILD_NUMBER' jdk8src/build/linux-x86_64-normal-server-release/spec.gmk
USER_RELEASE_SUFFIX=HDS
COOKED_BUILD_NUMBER:=nnnn
But the output of "java -version" still shows
OpenJDK Runtime Environment (build 1.8.0-20140820-mmontaseri_2014_08_20_18_26-b00)
Am I not going about this the right way? Is there another param that I need to set at configure
Thanks
Medi
More information about the build-dev
mailing list