How to check out the openjdk source code from the mercurial repositories

Jim Holmlund james.holmlund at oracle.com
Thu Mar 10 16:36:57 UTC 2011



On 3/10/2011 3:13 AM, Alan Bateman wrote:
> Fredrik Öhrström wrote:
>> I think it is important that a recent stock mercurial install
>> can check out the full openjdk with a single clone
>> command.
>>
>> I.e. you should not have to install special extensions just
>> to get the source code.
>>
>>
> I think this is a reasonable goal as it's probably confusing to folks today that they need to do 
> seven "hg clone" commands to get everything (or else they need to go through hoops to get the 
> forest extension working if they want the convenience of the fclone command). 
Kelly has a get_source.sh script in the top level repo.  I haven't used it, but I presume that a 
developer without the forest extension just has to do
       hg clone <top level repo>
       cd jdk7
       ./get_source.sh

- jjh

> At the same time, and as Phil mentioned on another thread, I think most people are working in only 
> one or a small subset of the repositories. If you've got the disk space then having all the 
> repositories might not be a problem; the important thing (from a productivity perspective) is to 
> continue to allow partial builds (meaning building a subset of the repositories and augmenting 
> that with pre-built bits of the other repositories) and of course incremental builds within that 
> when working in a specific area.
>
> -Alan
>



More information about the build-dev mailing list