Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Gemini/Management/GettingStarted"
< Gemini | Management
(→Getting Started) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Gemini Management]] [[Category:Gemini]] [[Category:EclipseRT]] | [[Category:Gemini Management]] [[Category:Gemini]] [[Category:EclipseRT]] | ||
− | == | + | == Getting Started == |
− | + | # 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 Downloads]. | |
+ | # Download osgi.enterprise jar from [http://download.eclipse.org/tools/orbit/downloads/ | Orbit Downloads]. | ||
+ | # Download Gemini Management (org.eclipse.gemini.management) [http://www.eclipse.org/gemini/management/download/ | Gemini Management Downloads]. | ||
+ | # Place the four bundles in a folder, e.g. <i>test-gemini-management</i>. | ||
+ | # Create a subfolder <i>configuration</i> with a <i>config.ini</i> file in it to configure Equinox. In <i>config.ini</i> define the property <i>osgi.bundles</i>: | ||
+ | <source lang="text"> | ||
+ | osgi.bundles=./org.eclipse.osgi.services_<version>.jar@start,\ | ||
+ | ./osgi.enterprise_<version>.jar@start,\ | ||
+ | ./org.eclipse.gemini.management-2.0.0.RELEASE.jar@start | ||
+ | </source> | ||
− | + | Start Equinox with | |
+ | <source lang="text"> | ||
+ | java -jar org.eclipse.osgi.<version>.jar -console | ||
+ | </source> | ||
+ | Note: With Equinox 3.8 you have to pass a property <i>-Dosgi.console.enable.builtin=true</i> or add the Gogo shell bundles to your installation and <i>config.ini</i> to access the OSGi console. | ||
− | + | What's next? | |
− | + | # 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. | |
+ | # Install and start your test bundle. | ||
− | + | == Using Gemini Management in Eclipse == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:14, 24 September 2013
Getting Started
- Download Equinox (org.eclipse.osgi) and org.eclipse.osgi.services jars. Both are available in the Equinox SDK on | Equinox Downloads.
- Download osgi.enterprise jar from | Orbit Downloads.
- Download Gemini Management (org.eclipse.gemini.management) | Gemini Management Downloads.
- Place the four bundles in a folder, e.g. test-gemini-management.
- Create a subfolder configuration with a config.ini file in it to configure Equinox. In config.ini define the property osgi.bundles:
osgi.bundles=./org.eclipse.osgi.services_<version>.jar@start,\ ./osgi.enterprise_<version>.jar@start,\ ./org.eclipse.gemini.management-2.0.0.RELEASE.jar@start
Start Equinox with
java -jar org.eclipse.osgi.<version>.jar -console
Note: With Equinox 3.8 you have to pass a property -Dosgi.console.enable.builtin=true or add the Gogo shell bundles to your installation and config.ini to access the OSGi console.
What's next?
- 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.
- Install and start your test bundle.