如何将VM参数从命令行传递给eclipse?Eclipse - 如何从命令行传递VM参数(不更改eclipse.ini)
我试图使用Eclipse p2 director到插件安装到Eclipse,但它得到的放缓,并试图在download.eclipse.org搜索
有,说帮助页面上的通知:
在执行这些操作时,可以通过将VM参数eclipse.p2.mirrors设置为false来禁用自动镜像选择机制。
搜索过我"Why Eclipse’s “Check for Updates” is horribly slow (and how to fix it)"
它添加后“月蚀”,或的eclipse.ini -Declipse.p2.mirrors =假
然而
eclipsec -Declipse.p2.mirrors=false -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0
→未知选项
eclipsec -vmargs -Declipse.p2.mirrors=false -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0
- >启动工作台
eclipsec -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0 -vmargs -Declipse.p2.mirrors=false
- >投入到底有没有效果
更新:我无法安装成功,所以我认为原因是,P2主任搜索上download.eclipse.org
并失败。然后在格雷格的建议之后,我确信这些论点将会在版本中发挥作用(它只能通过确切版本: 空或0.10.0.qualifier
不适合)。所以现在安装成功,但仍然非常缓慢,可能是因为download.eclipse.org
仍然被联系。登录以下
eclipsec -application org.eclipse.equinox.p2.director -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0.201401270634 -vmargs -Declipse.p2.mirrors=false
使用eclipse从ATD-捆绑
D:\Android\eclipse>r -repository http://www.nodeclipse.org/updates/ -installIU org.nodeclipse.jjs.feature.feature.group/0.10.0.201401270634 -vmargs -Declipse.p2.mirrors=false
Їхт 05, 2014 7:17:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:17:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Їхт 05, 2014 7:17:39 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:17:39 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Installing org.nodeclipse.jjs.feature.feature.group 0.10.0.201401270634.
Їхт 05, 2014 7:18:10 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:18:10 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Їхт 05, 2014 7:18:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:18:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Їхт 05, 2014 7:18:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (org.apache.commons.httpclient.NoHttpResponseException) caught when processing request: The server download.eclipse.org failed to respond
Їхт 05, 2014 7:18:31 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Operation completed in 78172 ms.
最终是正确的位置。你怎么知道把它放在最后没有效果? –
检查更新后的答案。 –
对不起,但我没有看到更新的答案是如何与原始问题相关的。你应该开始一个新的问题。 – oberlies