问题
$ eclipse -console
The above command opens OSGi console and Eclipse IDE in different windows. Is there any options where OSGi Console can be brought inside in console view of Eclipse?
回答1:
Yes there is. Go to Run Configuration... in Eclipse. Double click on OSGi Framework will add a new Run Project for you. 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.
回答2:
You can just select the "Host OSGi Console" in the Console View. (You might have to install PDE for it to be there.)
来源:https://stackoverflow.com/questions/11168195/how-to-open-osgi-console-in-eclipse-juno