我想从全新的 Eclipse 安装开始自动设置测试环境。我想从命令行安装一些功能。但是,尽管从 IDE 安装该功能有效,但它不能使用以下命令行脚本(为方便起见添加了换行符):
H:/eclipse/eclipsec.exe
-application org.eclipse.equinox.p2.director
-repository http://download.eclipse.org/recommenders/updates/head/
-installIU org.eclipse.recommenders.rcp.feature.feature.group
-destination H:/eclipse/
-profile SDKProfile
-verifyOnly
这给了我错误:
Cannot complete the install because one or more required items could not be found.
Software being installed: Code Recommenders Developer Tools (Milestone) 2.0.1.v
20131111-0948 (org.eclipse.recommenders.rcp.feature.feature.group 2.0.1.v2013111
1-0948)
Missing requirement: async-http-client 1.6.5.20130531-2315 (com.ning.async-http
-client 1.6.5.20130531-2315) requires 'package javax.crypto 0.0.0' but it could
not be found
Cannot satisfy dependency:
From: Embedded Maven Runtime Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven
.runtime 1.4.0.20130531-2315)
To: bundle com.ning.async-http-client [1.6.5,1.6.6)
Cannot satisfy dependency:
From: Code Recommenders: Models Runtime 2.0.1.v20131110-1920 (org.eclipse.reco
mmenders.models 2.0.1.v20131110-1920)
To: package org.sonatype.aether 0.0.0
Cannot satisfy dependency:
From: Code Recommenders Developer Tools (Milestone) 2.0.1.v20131111-0948 (org.
eclipse.recommenders.rcp.feature.feature.group 2.0.1.v20131111-0948)
To: org.eclipse.recommenders.models [2.0.1.v20131110-1920]
Application failed, log file location: H:\eclipse\configuration\1384270274500.log
这里发生了什么(与 IDE 不同),我怎样才能让它工作?