Difference between revisions of "Gemini/Management/GettingStarted"

From Eclipsepedia

Jump to: navigation, search
Line 2: Line 2:
 
[[Category:Gemini Management]] [[Category:Gemini]] [[Category:EclipseRT]]
 
[[Category:Gemini Management]] [[Category:Gemini]] [[Category:EclipseRT]]
  
== Gemini Management Starter ==
+
== Getting Started ==
  
 
1. Download Equinox (org.eclipse.osgi) and org.eclipse.osgi.services jars. Both are available in the Equinox SDK on [http://download.eclipse.org/equinox/| Equinox download page].
 
1. Download Equinox (org.eclipse.osgi) and org.eclipse.osgi.services jars. Both are available in the Equinox SDK on [http://download.eclipse.org/equinox/| Equinox download page].
Line 19: Line 19:
  
 
8. Install and start your test bundle.
 
8. Install and start your test bundle.
 +
 +
== Using Gemini Management in Eclipse

Revision as of 12:02, 9 December 2011

Getting Started

1. Download Equinox (org.eclipse.osgi) and org.eclipse.osgi.services jars. Both are available in the Equinox SDK on Equinox download page.

2. Download osgi.enterprise jar from | Eclipse Orbit repository.

3. [download.eclipse.org/gemini/management/nightly-zips/org.eclipse.gemini.mgmt-1.0.0-SNAPSHOT.jar| Download] Gemini Management jar.

4. Place the four bundles in a folder, e.g. test-gemini-management.

5. Create a subfolder configuration with a config.ini file in it to configure Equinox. In config.ini define the property osgi.bundles=./org.eclipse.osgi.<version>.jar@start, ./org.eclipse.osgi.services.<version>.jar@start, ./osgi.enterprise_4.2.0.v201108120515.jar@start, /org.eclipse.gemini.mgmt-1.0.0-SNAPSHOT.jar@start

6. Create a test bundle, from which to invoke the MBeans of Gemini Management. Your test bundle should registers the platform MBeanServer as an OSGi service - Gemini Management needs such service to be registered in order to work.

7. Start Equinox with java -jar org.eclipse.osgi.<version>.jar -console

8. Install and start your test bundle.

== Using Gemini Management in Eclipse