使用此处来自@Aaron Digulla的此链接(请参阅“构建”和“克隆平台源代码树”部分),这似乎是下载所有 Eclipse 源代码的方式。我实际上运行了这些指令,它们似乎有效。我认为这就是一切。
# 1 .Clone the whole repo, including all submodules (sub-repos)
git clone -b master --recursive \
git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
上面的克隆过程花了我大约 30 分钟,下载了 3.9 GB 的东西。
# 2. To update the git clone above, including all submodules
cd eclipse.platform.releng.aggregator
git pull --recurse-submodules
git submodule update
而已!这似乎就是一切(我认为)。这是我在刚刚克隆的“eclipse.platform.releng.aggregator”文件夹的第一级中看到的内容:
eclipse.platform.releng.aggregator$ tree -L 1
.
├── cje-production
├── CONTRIBUTING
├── eclipse.jdt
├── eclipse.jdt.core
├── eclipse.jdt.core.binaries
├── eclipse.jdt.debug
├── eclipse.jdt.ui
├── eclipse.pde.build
├── eclipse.pde.ui
├── eclipse.platform
├── eclipse.platform.common
├── eclipse.platform.debug
├── eclipse-platform-parent
├── eclipse.platform.releng
├── eclipse.platform.releng.prereqs.sdk
├── eclipse.platform.releng.tychoeclipsebuilder
├── eclipse.platform.resources
├── eclipse.platform.runtime
├── eclipse-platform-sources
├── eclipse.platform.swt
├── eclipse.platform.swt.binaries
├── eclipse.platform.team
├── eclipse.platform.text
├── eclipse.platform.ua
├── eclipse.platform.ui
├── eclipse.platform.ui.tools
├── Jenkinsfile
├── JenkinsJobs
├── LICENSE
├── NOTICE
├── pom.xml
├── production
├── README.md
├── rt.equinox.binaries
├── rt.equinox.bundles
├── rt.equinox.framework
├── rt.equinox.p2
└── scripts
32 directories, 6 files