문제

How do I clone the OpenJDK repository using mercurial?

I would like to clone the Java source code from there to understand what they are developing in JDK8 and would like to co-operate if possible.

도움이 되었습니까?

해결책

The repository is linked on http://openjdk.java.net/. Clone it and execute theget_source.sh script.

$ hg clone http://hg.openjdk.java.net/jdk8/jdk8
$ cd jdk8 && sh get_source.sh

A guide to the OpenJDK repositories and a How to contribute are available, too.

다른 팁

Have a look at the README of the version you want to clone.

After doing what another answer said:

hg clone http://hg.openjdk.java.net/jdk8/jdk8

you also need to run:

sh get_source.sh

to actually clone most of the source code, which is split into multiple sub-repositories.

Related: How can I checkout the OpenJDK from the mercurial repository?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top