[英]Run latest Equinox with gradle/maven tool
An answer to How to start osgi console (Equinox) suggest that more files are needed than just org.eclipse.osgi.jar
如何启动osgi控制台(Equinox)的答案表明需要更多的文件而不仅仅是
org.eclipse.osgi.jar
How to run (ie download and execute, or copy to a distribution folder) with maven or gradle? 如何使用maven或gradle运行(即下载并执行或复制到分发文件夹)?
Download the equinox jars adding the below dependencies in your pom.xml 下载在您的pom.xml中添加以下依赖项的equinox jar
<dependency>
<groupId>org.eclipse.osgi</groupId>
<artifactId>org.eclipse.osgi</artifactId>
<version>3.7.1</version>
</dependency>
Start the OSGI runtime and login to the documented port (6667 for Felix) to use the CLI 启动OSGI运行时并登录到记录的端口(对于Felix为6667)以使用CLI
The console could also be started using the following commands 也可以使用以下命令启动控制台
java -jar org.eclipse.osgi_3.2.0.jar -console
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.