Maven Tycho:如何在产品版本中排除eclipsec.exe? [英] Maven Tycho: How to Exclude eclipsec.exe in a product build?
问题描述
我将Eclipse RCP产品的构建从PDE-build切换到了Maven Tycho.除了主(品牌)启动器可执行文件之外,该产品现在还包含"eclipsec.exe"文件.我们想从我们的产品中忽略此基于控制台的启动器,因为它可能会使我们的客户感到困惑.有没有用Tycho做到这一点的方法?
I switched the build of our Eclipse RCP product from PDE-build to Maven Tycho. In addition to the main (branded) launcher executable, the product now includes the "eclipsec.exe" file. We would like to omit this console-based launcher from our product as it might confuse our customers. Is there a way to do that with Tycho?
推荐答案
我在 tycho用户列表:
在您的eclipse存储库项目中,假设您具有.product文件,则可以将另一个文件放在名为.p2.inf的同一目录中
In your eclipse-repository project, assuming that you have a .product file, you can place another file in the same directory called .p2.inf
对于p2.inf文件的内容,您可以放置一个p2接触点以删除该文件:
For the contents of your p2.inf file you can put a p2 touchpoint to remove the file:
instructions.configure=org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/eclipsec.exe);
这篇关于Maven Tycho:如何在产品版本中排除eclipsec.exe?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!