有人真正让第谷工作过吗?
我正在尝试让第谷与 m2eclipse 一起工作。问题是我发现的都是过时的网站和旧版本可供下载。我找到了 http://github.com/sonatype/sonatype-tycho并下载了源码。问题是 https://docs.sonatype.org/display/TYCHO/BuildingTycho< 上的指南/a> 没有太大帮助。当尝试构建时,我遇到一条错误消息,指出我正在使用无效语法......而且似乎没有地方可以寻求进一步的指导。
那么有人真正做到了这一点吗?或者有更好的替代方案用于 Eclipse 插件的持续集成/自动构建解决方案?
I'm trying to get Tycho working with m2eclipse. Problem is that all I find are outdated sites and old versions to download. I've found my way to http://github.com/sonatype/sonatype-tycho and downloaded the source. Problem is that the guide at https://docs.sonatype.org/display/TYCHO/BuildingTycho isn't of much help. When trying to build I run into an error message saying I'm using invalid syntax..... And there seems to be nowhere to ask for further guidance.
So are there anyone out there who actually got this working? Or got a better alternative for continuous integration / automatic build solution for eclipse plug-ins?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Tycho 是一个 Maven 插件,因此您不需要下载它,只需在 pom.xml 文件中声明它即可。
请参阅 http://github.com/sonatype/ sonatype-tycho/tree/master/tycho-its/projects/tycho001/ 了解简单项目的详细信息。
Tycho is a maven plugin, so you don't need to download it, just declare it in your pom.xml files.
See http://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/tycho001/ for details of a simple project.
Igor Fedorenko 的提示帮助我让它运行起来:
https://issues.sonatype.org/browse/MNGECLIPSE-2140?focusedCommentId=115527&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_115527
如果您没有被催促不过,我建议等待即将到来的 m2eclipse 更新。最近宣布将在 Maven 3 发布后不久推出。
This hint from Igor Fedorenko helped me to get it running:
https://issues.sonatype.org/browse/MNGECLIPSE-2140?focusedCommentId=115527&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_115527
If you are not pressed for time, I'd suggest to wait for the upcoming Update of m2eclipse, though. It was recently announced to follow shortly after Maven 3 release.
Robert,只要您不尝试构建 Eclipse 应用程序,它就对我有用。我已将其集成到 CruiseControl 中,并且我对构建和测试插件感到非常满意。
对我来说主要的技巧是忽略所有 P2/目标的东西。我根本无法让它工作。相反,我使用指向 Eclipse 安装的参数调用 maven,如下所示:
mvn -Dtycho.targetPlatform=C:\Programmer\eclipse
这些是必要的插件定义:
当前 Tycho 版本是 0.13.0。
我想构建 Eclipse 应用程序,但需要我自己的支持。
我希望这有帮助。
干杯,
克劳斯
Robert, it does work for me as long as you don't try to build an Eclipse application. I have integrated it into CruiseControl and I am quite happy with building and testing plugins.
The main trick for me was to ignore all the P2/target stuff. I couldn't get it to work at all. Instead I call maven with an parameter that points to the Eclipse installation like this:
mvn -Dtycho.targetPlatform=C:\Programmer\eclipse
These are the necessary Plugin definitions:
Current Tycho Version is 0.13.0.
I would like to build Eclipse Applications but need support myself for that.
I hope that helps.
Cheers,
Klaus
我在使用 Tycho 时遇到了一些麻烦,直到我意识到它需要 Maven 3。如果您运行的是 Maven 2,它将无法工作。
I had trouble with Tycho for a while until I realized it required Maven 3. If you're running Maven 2 it won't work.