【问题标题】:How to clone the OpenJDK Java 8 repository?如何克隆 OpenJDK Java 8 存储库?
【发布时间】:2013-12-08 18:20:13
【问题描述】:

如何使用 mercurial 克隆 OpenJDK 存储库?

我想从那里克隆 Java 源代码,以了解他们在 JDK8 中开发的内容,并希望在可能的情况下进行合作。

【问题讨论】:

    标签: java mercurial openjdk


    【解决方案1】:

    存储库链接到http://openjdk.java.net/。克隆它并执行get_source.sh 脚本。

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

    guide to the OpenJDK repositoriesHow to contribute 也可用。

    【讨论】:

      【解决方案2】:

      查看at the README您要克隆的版本。

      做了之后another answer said:

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

      你还需要运行:

      sh get_source.sh
      

      实际克隆大部分源代码,将其拆分为多个子存储库。

      相关:How can I checkout the OpenJDK from the mercurial repository?

      【讨论】:

        猜你喜欢
        • 2016-05-01
        • 1970-01-01
        • 2020-06-13
        • 2013-11-04
        • 1970-01-01
        • 2021-12-31
        • 1970-01-01
        • 2018-02-20
        • 2015-07-24
        相关资源
        最近更新 更多