简体   繁体   English

导出 Eclipse RCP 产品时如何对 Jars 进行签名?

[英]How do I sign Jars when exporting an Eclipse RCP product?

My team develops an Eclipse RCP application, and we want to sign our jars when the product is exported, but we didn't find a way to do this.我的团队开发了一个 Eclipse RCP 应用程序,我们想在产品导出时对我们的 jar 进行签名,但我们没有找到这样做的方法。 Interface-wise, jars signing is available only through features and plugins export commands, not through product export.接口方面,jar 签名只能通过功能和插件导出命令使用,而不是通过产品导出。

So far, we tried to add signing information on our plugins build.properties files and on some of the files located on eclipse\plugins\org.eclipse.pde.build\scripts.到目前为止,我们尝试在我们的插件 build.properties 文件和位于 eclipse\plugins\org.eclipse.pde.build\scripts 上的一些文件上添加签名信息。 Nothing changed and our plugins were still unsigned.没有任何改变,我们的插件仍然未签名。

We understand that we have to use Ant instructions to achieve that, but we don't know neither how or where we do it.我们知道我们必须使用 Ant 指令来实现这一点,但我们既不知道如何做,也不知道在哪里做。

How do I sign Jars when exporting an Eclipse RCP product?导出 Eclipse RCP 产品时如何对 Jars 进行签名?

Please take a look at the documentation.请查看文档。 There it is described very well, including examples.那里描述得很好,包括例子。

https://ant.apache.org/manual/Tasks/signjar.html https://ant.apache.org/manual/Tasks/signjar.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM