Eclipse 4.x 版本的 p2 存储库 URL 是什么?
对于 Eclipse 插件项目,我使用 Maven 和 Tycho 来构建它。目标平台的第谷配置是
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
</configuration>
</plugin>
存储库声明为
<repositories>
<repository>
<id>${platform-version-name}</id>
<layout>p2</layout>
<url>${eclipse-site}</url>
</repository>
</repositories>
,值声明为
<properties>
<platform-version-name>galileo</platform-version-name>
<eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
</properties>
这是所有教程中显示的方法。使用这种方法,我可以测试我的插件应支持的每个版本(3.5 及更高版本)。成功。
但我无法找出 4.x 版本的正确 URL,因此我还可以针对 4.0 和 4.1 以及可能的 4.2 Nightly 进行测试。
我可以使用相同的方法来使用 Eclipse 4.x 作为目标平台吗?p2 存储库 URL 是什么?
For an Eclipse plugin project I use Maven and Tycho to build it. The Tycho configuration for target platform is
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<resolver>p2</resolver>
</configuration>
</plugin>
The repository is declared as
<repositories>
<repository>
<id>${platform-version-name}</id>
<layout>p2</layout>
<url>${eclipse-site}</url>
</repository>
</repositories>
and the values are declared as
<properties>
<platform-version-name>galileo</platform-version-name>
<eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site>
</properties>
This is the approach shown in all tutorials. Using this approach I can test my plugin for every version it should support (3.5 and up). Success.
BUT I wasn't able to figure out the proper URLs for the 4.x releases, so I could also test against 4.0 and 4.1 and possibly 4.2 Nightly.
Can I use the same approach to use Eclipse 4.x as a target platform and what would be the p2 repository URLs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅http://wiki.eclipse.org/Eclipse_Project_Update_Sites
see http://wiki.eclipse.org/Eclipse_Project_Update_Sites