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

时间:2013-12-09 09:41:31

标签: java eclipse repository eclipse-kepler p2

我有一个预定的工作,它正在镜像P2 Kepler存储库(http://download.eclipse.org/releases/kepler/)。镜像似乎很成功,但如果我在Eclipse中打开“安装新软件”对话框并将其指向镜像目录,则无需安装。

我将Kepler Repository与Indigo Repository进行了比较,并认识到content.jar有很大的不同。在indigo存储库中,content.jar的大小约为5MByte,而Kepler存储库中的content.jar只有300Byte。之所以出现这种差异,是因为Kepler Release的content.xml为空!

这是一个错误吗?我怎样才能使它工作?我想能够从“安装新软件”对话框安装所有kepler组件。

感谢您的帮助

1 个答案:

答案 0 :(得分:0)

我正在执行以下命令:

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