如果我理解正确的话,SpringSource有一个公共的OBR,其中包含许多第三方jars的OSGi包。我想在Eclipse中使用它,但是我不能让Eclipse连接到它。
我试过了:
http://ebr.springsource.com它在那里挂了很长时间,并以错误的形式返回:
Error reading update site http://ebr.springsource.com.
The XML stream is not a valid default "site.xml" file.
The root tag is not site.我试过了:
http://ebr.springsource.com/repository它很快返回为错误:
No repository found at http://ebr.springsource.com/repository.那么,我应该使用哪个URL呢?
在得到我的第一个答案后,EDIT做了一些研究。我找到了this site,它声称有一个公共OBR存储库的列表:
OSGi Bundle Repository:
http://www.osgi.org/obr/browse?cmd=repository&_xml=1
Spring Enterprise Bundle Repository:
http://sigil.codecauldron.org/spring-external.obr
http://sigil.codecauldron.org/spring-release.obr但它们也都不能与Eclipse一起工作。我只是现在更困惑了。
我(认为我)理解的是:
1) SpringSource EBR是OSGi包的存储库,而不是"OSGi包存储库“。这对我来说毫无意义。这有什么意义呢?
2)“XML”只是一个定义OSGi捆绑库的配置的OSGi文件。
因此,如果我给Eclipse提供http://sigil.codecauldron.org/spring-external.obr,而不是http://ebr.springsource.com,我希望Eclipse使用该文件的内容来访问http://ebr.springsource.com,但它也不起作用。
那么,哪一个可能的原因是:
1) http://sigil.codecauldron.org/spring-external.obr已过时或错误
2) http://sigil.codecauldron.org/spring-external.obr与Eclipse不兼容(显然,它与Apache Felix兼容)
3) "Eclipse Update Site“不是OBR (也不是Maven Repository),尽管它也应该包含OSGi包。如果是这样,那么它也没有多大意义,因为Eclipse是基于OSGi的。
发布于 2011-08-21 21:21:18
Eclipse不是SpringSource Update站点,因此不能以这种方式使用。它也不是OBR,至少目前是这样。但是Eclipse PDE无论如何都不使用OBR (尽管Bndtools使用)。
我认为,您可以将其用作Maven存储库。
https://stackoverflow.com/questions/7137656
复制相似问题