Can somebody sanity-check me here?
Daniel Fuchs
Daniel.Fuchs at Sun.COM
Wed Jul 16 10:20:47 UTC 2008
Hi Ted,
To complete Erick's answer I believe you will find some in-depth
explanation on Kelly's blog - and more particularly in these two
articles:
OpenJDK Mercurial Forest
http://blogs.sun.com/kto/entry/openjdk_mercurial_forest
and OpenJDK Mercurial Wheel (Integration Wheel of Open Life)
http://blogs.sun.com/kto/entry/openjdk_mercurial_wheel
To illustrate what Kelly is saying in these posts, as a
JMX developper, I am pulling from
http://hg.openjdk.java.net/jdk7/tl
and pushing into
http://hg.openjdk.java.net/jdk7/tl-gate
because traditionally the JMX APIs are integrated in 'tl'
The http://hg.openjdk.java.net/jdk7/tl (or
http://hg.openjdk.java.net/jdk7/jdk7) are two roots for the
whole forest shown in:
http://blogs.sun.com/kto/entry/openjdk_mercurial_forest
The http://hg.openjdk.java.net/jdk7/tl is one of the integration
forests shown in http://blogs.sun.com/kto/entry/openjdk_mercurial_wheel
(one of the forests shown on the circle itself)
and http://hg.openjdk.java.net/jdk7/jdk7 is the "master" which sits
at the center of the wheel. Each integration forest is a clone of
the master sitting at the center of the wheel, and each of the
integration forest may contain fixes which have not yet been integrated
in the master (but will be).
So if you want to work from the sources already integrated in the
JDK 7 master, what you need to pull is:
hg fclone http://hg.openjdk.java.net/jdk7/jdk7
By using "fclone" you will pull the whole forest shown
in http://blogs.sun.com/kto/entry/openjdk_mercurial_forest
Note that if you only want to work on the JDK APIs - and if you
don't want to rebuild a full image of the JDK then pulling the
single tree
http://hg.openjdk.java.net/jdk7/jdk7/jdk
might be enough.
Hope this helps,
-- daniel
http://blogs.sun.com/jmxetc
Erik Trimble wrote:
> Ted Neward wrote:
>>
>> I go to http://hg.openjdk.java.net, and there’s about 4 billion
>> different repositories listed there, including several variations of
>> repositories that I thought I was already pulling: hotspot, corba,
>> jdk, and so on. (The variations are things like jdk7/corba-gate,
>> jdk7/hotspot-comp, jdk7/hotspot-gc, and so on.) Do I need to
>> explicitly pull these guys? Or are they somehow being brought in to
>> the “core” name repositories?
>>
>>
>>
>> Ted Neward
>>
>> Java, .NET, XML Services
>>
>> Consulting, Teaching, Speaking, Writing
>>
>> http://www.tedneward.com
>>
>>
>>
> These are the promotion and sub-group repositories, and you don't need
> to explicitly pull any of them.
>
> Developer work goes into many of these, which are then run up the repo
> trees after testing. Work for a given repository is pushed to the
> corresponding *-gate repo, and then internally promoted.
>
> The latest tested build of the full JDK can always be found in the
> http://hg.openjdk.java.net/jdk7/jdk7 forest of repositories.
>
More information about the build-dev
mailing list