This post shows how to run Equinox as an OSGi stand-alone runtime.
Download org.eclipse.osgi_.jar from here. The same jar exists in eclipse installation directory ( plugin folder ). Copy the jar and paste into a new directory.
Example - C:\osgi\org.eclipse.osgi_3.9.1.v20140110-1610.jar
Starting the OSGi server :
java -jar org.eclipse.osgi_3.9.1.v20140110-1610.jar -console
Basic commands to start with :
- install
- Installs the bundle from the given URL
- start
- Starts the bundle with the given numeric or symbolic id.
- stop
- Stops the bundle with the given numeric or symbolic id.
- ss - Reports a summary status of all installed bundles
- diag
- Reports any resolution problems for the bundle with the given numeric or symbolic id.
No comments :
Post a Comment