简体   繁体   English

如何从命令行构建OSGi(Equinox)项目

[英]How to build OSGi(Equinox) project from command line

I have an OSGi(Equinox) project. 我有一个OSGi(Equinox)项目。 And I have all required osgi plugin jars in a directory. 我在目录中有所有必需的osgi插件jar。 Now I want to build my project using command line. 现在,我想使用命令行来构建我的项目。

In fact, I have two OSGi project , say A and B. A is depending on B and also depending on some other plugins. 实际上,我有两个OSGi project ,分别是A和B。A取决于B,也取决于其他一些插件。 I want to build A. 我要建A。

Actually project A building in eclipse as I defined a Target platform targeting my plugin directory. 实际上是项目,因为我定义了以我的插件目录为Target platform ,所以在eclipse中建立了一个建筑物。

Use Maven and Tycho. 使用Maven和Tycho。 There is a good tycho tutorial to help you get started. 有一个很好的tycho教程可以帮助您入门。

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

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