Mercurial check out for a particular JDK8 build

David Holmes david.holmes at oracle.com
Mon Jun 3 05:56:45 UTC 2013


On 3/06/2013 6:16 AM, Shrinivas Joshi wrote:
> Hello,
>
> I have a question regarding mercurial checkout steps. What is the right
> way to check out source for the master and the nested repos (jaxp,
> langtools ..etc) for a particular JDK 8 build from
> http://hg.openjdk.java.net/jdk8/jdk8/ ? I didn't find much luck with hg
> clone and hg update for particular revision/changeset number (705 in
> case of JDK8-b89?). Probably I need to pass the right arguments to
> get_source.sh script but I am not sure what they should be.

I don't think get_source.sh can aid you here.

You need to specify a build tag on the -r option of clone, and using the 
forest extension to do an fclone is probably simplest eg:

 > hg fclone -r jdk8-b42 http://hg.openjdk.java.net/jdk8/jdk8 jdk8-b42

David
-----

> Thanks for your help.
>
> -Shrinivas



More information about the build-dev mailing list