Personal tools
You are here: Home Developer Infrastructure Teams Architecture Implementations Windows

Windows

These are instructions for running the OSGi implementation of Kepler on Windows. This implementation is still very much a work in progress and should only be used by Core developers for now.

Red TriangleThis was experimental work for evaluating OSGi and no longer applies.

Download the Launcher

 Download the launcher and unzip it to a folder named win_osgi or some other empty folder.

Download the External Jar Bundles

Export the external jar bundles from the SVN repository location:

https://code.kepler-project.org/code/kepler/external

then move or copy all of the jars from the external directory to the plugins directory of the unzipped launcher.

Download the kepler.kernel Jar Bundle

Download the kepler.kernel bundle and place it in the plugins directory along side all of the external bundles.

Unpack the kepler.kernel bundle to your %HOMEPATH%/.kepler/kepler.kernel.resources directory.  (This is an ugly kludge to get around reading resources from the bundle - see Steps to OSGi conversion)

Start -> Run...

Type "cmd" and press OK

 

mkdir "%HOMEPATH%\.kepler"
mkdir "%HOMEPATH%\.kepler\kepler.kernel.resources"
cd C:\mac_osgi\plugins
mv kepler.kernel_1.0.0.jar "%HOMEPATH%\.kepler\kepler.kernel.resources"
jar -xvf kepler.kernel_1.0.0.jar
mv kepler.kernel_1.0.0.jar C:\mac_osgi\plugins

 

Launching Kepler

Go to the win_osgi directory and run the kepler_eclipse executable there

Notes:

useful command line switches

-clean -consoleLog -console

-clean  (this will rebuild the Equinox cache on startup - without this switch the cache is used to start Kepler)

-consoleLog  (with an upper case L - this will display console messages as the framework starts, otherwise you will find timestamped .log files in the configuration directory)

-console  (this will bring up the OSGi console (if you don't see it at first press enter) type help to get a list of commands you can run there while Kepler is running - the "ss" command will let you see the state of all the bundles)

See Ganymede Runtime Options

for more switches.

Configuration for the launcher is found in the following two files
win_osgi/configuration/config.ini
win_osgi/eclipse.ini

Disclaimer:

not everything will work in this version of Kepler

(see Steps to OSGi conversion)

 

If these instructions aren't working out of the box, try messing around with kepler.kernel.resources/kar/actors

deleting or adding kars

Document Actions