Mercurial check out for a particular JDK8 build

2013-06-02 Thread Shrinivas Joshi

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.


Thanks for your help.

-Shrinivas


Re: Mercurial check out for a particular JDK8 build

2013-06-03 Thread Shrinivas Joshi

Hi David,

Thanks. It worked for me.

-Shrinivas

On 6/2/2013 10:56 PM, David Holmes wrote:

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