MILESTONE and BUILD_NUMBER with new build system

David Holmes david.holmes at oracle.com
Mon Sep 24 16:25:22 PDT 2012


On 25/09/2012 6:38 AM, Henri Gomez wrote:
> OpenJDK reports like this :
>
> openjdk version "1.8.0-internal"
> OpenJDK Runtime Environment (build 1.8.0-internal-myuser_2012_09_24_15_47-b00)
> OpenJDK Server VM (build 24.0-b21, mixed mode)
>
> With old build system I used to set MILESTONE and BUILD_NUMBER env
> vars to have JDK reports like this :
>
> openjdk version "1.8.0-b56"
> OpenJDK Runtime Environment (build 1.8.0-b56-20120918)
> OpenJDK 64-Bit Server VM (build 24.0-b21, mixed mode)
>
> How did we set them now with new build system ?

I recently raised this problem with build-infra. Presently the MILESTONE 
and JDK_BUILD_NUMBER (note name change) are used for these but they get 
overridden by the values in the version.numbers file. So you can either 
put the right numbers in that file, or delete those variables from the 
file and set them via the environment.

David

> Cheers


More information about the lambda-dev mailing list