简体   繁体   English

如何在Eclipse Juno中打开OSGi控制台?

[英]How to Open OSGi Console in Eclipse Juno?

$ eclipse -console

The above command opens OSGi console and Eclipse IDE in different windows. 上面的命令在不同的窗口中打开OSGi控制台和Eclipse IDE。 Is there any options where OSGi Console can be brought inside in console view of Eclipse? 是否有任何选项可以在Eclipse的控制台视图中引入OSGi控制台?

You can just select the "Host OSGi Console" in the Console View. 您只需在控制台视图中选择“主机OSGi控制台”即可 (You might have to install PDE for it to be there.) (您可能必须安装PDE才能使用它。)

Yes there is. 就在这里。 Go to Run Configuration... in Eclipse. 转到Eclipse中的Run Configuration... Double click on OSGi Framework will add a new Run Project for you. 双击OSGi Framework将为您添加一个新的Run Project。 In the first view you can add all bundles you want to run. 在第一个视图中,您可以添加要运行的所有包。 But for now deselect all and click on run. 但是现在取消选择所有并点击运行。 Then an OSGi console will be open in Eclipse. 然后将在Eclipse中打开OSGi控制台。

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

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