找不到包含以下内容的存储库:org.eclipse.update.feature,org.eclipse.emf.ecore

时间:2016-08-16 08:42:56

标签: java eclipse plugins rcp eclipse-pdt

我已将eclipse 4.3升级到eclipse 4.5。当我尝试用eclipse 4.5编译相同的产品时,我得到了一个很大的错误列表。

收集要安装的项目时发生错误

 [java] [p2.director]  No repository found containing: org.eclipse.update.feature,org.eclipse.emf.ecore,2.11.1.v20150805-0538
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.11.1.v20150805-0538
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.11.1.v20150806-0404
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.11.2.v20160128-0629
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.5.100.v20141002-1241
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.9.1.v20160128-1343
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.8.0.v20150527-0946
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.11.2.v20151123-1510
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jem.util,2.1.200.v201404021757
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.jst.common.project.facet.core,1.4.400.v201403261418
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.core,1.2.0.v200908251833
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.emf,1.2.400.v201505132009
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.emfworkbench.integration,1.2.101.v201107081800
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.environment,1.0.400.v200912181831
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.200.v201304241450
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks.ui,1.2.400.v201504292002
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.modulecore,1.2.401.v201408132036
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.300.v201111030423
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.ui,1.4.600.v201505072140
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.common.uriresolver,1.2.200.v201505132009
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.css.core,1.1.800.v201402172058
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.html.core,1.1.802.v201501312139
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.internet.monitor.core,1.0.600.v201309182039
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.core,1.3.401.v201511181529
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.manipulation,1.0.600.v201505071819
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.ui,1.1.601.v201512010225
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.jsdt.web.core,1.0.800.v201505130300
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.server.core,1.8.0.v201601132216
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.server.discovery,1.2.0.v201601132216
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.server.ui,1.5.202.v201602111638
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.sse.core,1.1.901.v201510130005
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.700.v201508251749
 [java] [p2.director]  No repository found containing: osgi.bundle,org.eclipse.wst.xml.core,1.1.902.v201501211904

调用导演时出现问题。

我在网上看到的解决方案很少,但他们的解决方案与从UI安装eclipse软件更相关。我的问题与构建时间有关。

我采取了香草食,添加了必要的第三方插件和存储库。关于什么是缺少的插件/存储库的任何想法?

谢谢!

1 个答案:

答案 0 :(得分:0)

如果在调用Director时出现问题,则应尝试以下解决方案。

将此记录标签添加到<target name="runDirector" >

上方

<record name="c:/users/pvyas/desktop/build.log" loglevel="verbose" append="false"/>

ingenericTargets.xml

\\eclipse\plugins\org.eclipse.pde.build_<supported-version>\scripts\genericTargets.xml

这将生成日志,您将获得有关缺少的插件的详细信息。一旦获得插件,便可以将这些插件添加到依赖项中。