-
Notifications
You must be signed in to change notification settings - Fork 5
Running Equinox OSGi_82903240
nxi edited this page Apr 9, 2015
·
1 revision
Created by Tony Lam, last modified on May 20, 2008
Eclipse shipped with the Equinox runtime in its IDE package. To use the OSGi console, simply type in command line:
The minimum requirement for the OSGi runtime is the org.eclipse.osgi bundle. To run Equinox in the self plug-in discovery mode (like the one for Eclipse IDE where plug-ins are automatically discovered under /plugins directory), we will need the following setups:
Copy eclipse or eclipsec executable and eclipse.ini into the current directory. Add "-console" to eclipse.ini. Also add -Declipse.ignoreApp=true and -Dosgi.noShutdown=true as vmargs in eclipse.ini.
To add HTTP server support in Equinox, two plugins (and their dependencies) are required:
java -jar plugins/org.eclipse.equinox.launcher_1.0.0.v20070208a.jar
- Includes org.eclipse.equinox.common, org.eclipse.update.configurator, org.eclipse.core.runtime and their dependencies in the plugins sub-directory
- Includes the config.ini file in the configuration sub-directory
- Use the eclipse or eclipsec executable as the launcher
- org.eclipse.osgi
- org.eclipse.osgi.services
- org.eclipse.osgi.util (optional)
- org.eclipse.update.configurator (plug-in discovery)
- org.eclipse.equinox.launcher (OS specific runtime, assume the present of org.eclipse.core.runtime)
- org.eclipse.equinox.launcher.win32.win32.x86 (OS specific)
- org.eclipse.equinox.common
- org.eclipse.equinox.registry
- org.eclipse.equinox.preferences
- org.eclipse.core.job
- org.eclipse.core.contenttype
- org.eclipse.equinox.app
- javax.servlet
- org.eclipse.core.runtime
- org.eclipse.core.runtime.compatibility.auth
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start osgi.bundles.defaultStartLevel=4
To add HTTP server support in Equinox, two plugins (and their dependencies) are required:
- org.eclipse.equinox.http.registry (extension)
- org.eclipse.equinox.http.jetty (server)
- org.mortbay.jetty
- org.eclipse.equinox.http.servlet
- jcl104-over-slf4j-1.5.0 (replacement for org.apache.commons.logging)
- slf4j-api-1.5.0 (SLF4J)
- slf4j-log4j12-1.5.0 (SLF4J)
- org.springframework.osgi.log4j.osgi (Spring)
- org.springframework.bundle.osgi.extender (xml context file scanner)
- org.springframework.bundle.spring.core
- org.springframework.bundle.spring.beans
- org.springframework.bundle.spring.context
- org.springframework.bundle.spring.aop
- org.springframework.osgi.aopalliance.osgi
- org.springframework.osgi.backport-util-concurrent.osgi
- org.springframework.bundle.osgi.core
- org.springframework.bundle.osgi.io
Document generated by Confluence on Apr 01, 2015 00:11
Home | Developer Guide | Copyright © 2013 ANSTO