How to check out the openjdk source code from the mercurial repositories
David.Holmes at oracle.com
Thu Mar 10 12:40:36 PST 2011
Fredrik Öhrström said the following on 03/10/11 20:22:
> I think it is important that a recent stock mercurial install
> can check out the full openjdk with a single clone
> I.e. you should not have to install special extensions just
> to get the source code.
That's a bit of a leading/loaded question ;-)
> There are several ways this can be solved. But before
> we dive into discussions on the possible alternatives,
> I would like to see who else think it is a good idea.
Stepping up a level, an initial download of openjdk need not involve
using mercurial at all. You can simply download a stable snapshot as a
tar file; or download an install script that will do whatever is
necessary behind the scenes to get a complete openjdk. Personally I'd
like to see that include the basic build tools as well - in which case I
don't care about "special extensions" as I just get a working toolkit. I
think in the scheme of things the process of getting the source code for
the openjdk is the easiest part of the process. Depending on your
platform setting up mercurial so that you could do that "single clone
command" may be a far greater problem. And setting up the build
environment an order of magnitude greater again.
> Clearly, comments from people outside of Oracle
> are the most important!
> (When the source is checked out, then there can be
> mercurial extensions in the checked out source code
> for example jcheck that assists in sanity tests before
> committing. So this does not limit the actual extensions
> used later. Only that we should not "improve" on the versioning
> part of mercurial.)
More information about the build-dev