简体   繁体   English

镜像Eclipse Kepler存储库后,清空content.jar

[英]Empty content.jar after mirroring Eclipse Kepler repository

I have a scheduled job, which is mirroring the P2 Kepler repository ( http://download.eclipse.org/releases/kepler/ ). 我有一个计划的工作,该工作正在镜像P2 Kepler存储库( http://download.eclipse.org/releases/kepler/ )。 The mirroring seems successful but i if i open the "install new software" dialog in Eclipse and pointing it to the mirrored directory there is nothing to install. 镜像似乎成功了,但是如果我在Eclipse中打开“安装新软件”对话框并将其指向镜像目录,则没有任何安装。

I compared the Kepler Repository with the Indigo Repository and recognized that the content.jar has a big difference. 我将开普勒存储库和Indigo存储库进行了比较,发现content.jar有很大的不同。 While in the indigo repository the size of the content.jar is about 5MByte, the content.jar in the Kepler Repository is only 300Byte. 在靛蓝存储库中,content.jar的大小约为5MByte,而开普勒存储库中的content.jar仅为300Byte。 This difference occurs because the content.xml for the Kepler Release is empty! 之所以会出现这种差异,是因为Kepler版本的content.xml为空!

Is this a bug? 这是错误吗? How can i make it work? 我该如何运作? I wanna be able to install all kepler components from the "install new software" dialog. 我希望能够从“安装新软件”对话框中安装所有开普勒组件。

Thank you for your help 谢谢您的帮助

I am executing following commands: 我正在执行以下命令:

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source http://download.eclipse.org/releases/kepler/ -destination /tools/prd/iaa-download/data/downloader/active/eclipse/release_kepler

eclipse -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source http://download.eclipse.org/releases/kepler/ -destination /tools/prd/iaa-download/data/downloader/active/eclipse/release_kepler

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM