在 eclipse helios 2 中下载插件时出现问题
我在 eclipse helios2 中下载插件时遇到问题。更新站点是:http://fast-code.sourceforge.net/install.htm。在helios1 之前它工作得很好。
这是我收到的错误:
收集要安装的项目时发生错误 会话上下文是:(profile=epp.package.jee、phase=org.eclipse.equinox.internal.p2.engine.phases.Collect、operand=、action=)。 下载工件时出现问题:org.eclipse.update.feature,fastcodefeature,1.0.0.201012110203。 下载的流不是有效的存档。检查服务器。
编辑:这是我的site.XML:
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/fastcodefeature_1.2.0.jar" id="fastcodefeature" version="1.2.0">
<category name="FastCode"/>
</feature>
<category-def name="FastCode" label="FastCode">
<description>
Fast Code Eclipse Plugin
</description>
</category-def>
</site>
现在它正在获取特色版本:org.eclipse.update.feature,fastcodefeature,1.0.0.201012110203?
I am having problem in downloading my plug-in in eclipse helios2. the update site is: http://fast-code.sourceforge.net/install.htm. It worked fine up to helios1.
This is the error I get :
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: org.eclipse.update.feature,fastcodefeature,1.0.0.201012110203.
Downloaded stream not a valid archive. Check the server.
Edit: here is my site.XML:
<?xml version="1.0" encoding="UTF-8"?>
<site>
<feature url="features/fastcodefeature_1.2.0.jar" id="fastcodefeature" version="1.2.0">
<category name="FastCode"/>
</feature>
<category-def name="FastCode" label="FastCode">
<description>
Fast Code Eclipse Plugin
</description>
</category-def>
</site>
now where it is getting the featured version: org.eclipse.update.feature,fastcodefeature,1.0.0.201012110203?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
请参阅“下载的流不是有效的存档。请检查服务器。”可能存档无效?
See "Downloaded stream not a valid archive. Check the server." May be archive isn't valid?
问题是您的 fastcodefeature_1.2.0.jar 文件不是有效的功能 jar。它不包含 MANIFEST.MF 文件。我建议重建您的功能(以及相关的插件)。文件->导出->可部署的功能应该可以解决问题。
The problem is that your fastcodefeature_1.2.0.jar file is not a valid feature jar. It does not contain a MANIFEST.MF file. I would recommend rebuilding your feature (and associated plugins). File -> Export -> Deployable features should do the trick.