[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [equinox-dev] Question about Quickstart Guide, launching the framework
- From: "Kirchev, Lazar" <l.kirchev@xxxxxxx>
- Date: Wed, 23 Jun 2010 08:02:22 +0200
- Accept-language: en-US, de-DE
- Acceptlanguage: en-US, de-DE
- Delivered-to: email@example.com
- Thread-index: AQHLEWBa9jSUqZK3gEuvSFsNcx/mM5KOE7K1gAD4cqA=
- Thread-topic: [equinox-dev] Question about Quickstart Guide, launching the framework
You can find more about the osgi.bundles property on
In order for the framework to find the bundle in osgi.bundles, they should be written either with the absolute path, or the relative path from the directory where the framework bundle resides. In your case this should be something like
This is in case the bundles folder is a subfolder of the folder where the org.eclipse.osgi_3.4.jar lives.
The other property, osgi.framework.extensions, I think you should pass on the command line
as -Dosgi.framework.extensions=file\:bundles/org.eclipse.equinox.weaving.aspectj_18.104.22.168808061839.jar, something like
java -Dosgi.framework.extensions=file\:bundles/org.eclipse.equinox.weaving.aspectj_22.214.171.124808061839.jar -jar org.eclipse.osgi_3.4.jar -console
Actually, you need not pass osgi.framewrk.extensions on the command line, you may include it in the config.ini file as:
Now you should have three entries in the config.ini file:
From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Kashtan, Daniel
Sent: Tuesday, June 22, 2010 6:05 PM
To: Equinox development mailing list
Subject: RE: [equinox-dev] Question about Quickstart Guide, launching the framework
I found the Equinox Quickstart Guide and now I have some direction. I am able to get the Equinox command line and manually install and start bundles, but the config.ini is causing some annoying problems. Can anybody help me with the two questions below?
Here is what my log says,
!SESSION 2010-06-22 10:56:46.683 -----------------------------------------------
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -vmargs Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
Command-line arguments: -console -vmargs Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
!ENTRY org.eclipse.osgi 4 0 2010-06-22 10:56:47.138
!MESSAGE Bundle jogl.jar@start not found.
I have a jogl.jar just for testing purposes to see if I can load a bundle (it was converted to a bundle). It works if I have the jogl bundle in the folder above bundles folder, where the org.eclipse.osgi_3.4.jar lives, and it will show up after entering "ss" as active, but when I move it to the bundles folder it craps out :( Any ideas?
Also, does my log output above show that I added a framework extension correctly, should org.eclipse.equinox.weaving.hook show up in Framework Arguments? Here is the command I use to start the OSGI command line, java -jar org.eclipse.osgi_3.4.jar -console -vmargs Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
From: equinox-dev-bounces@xxxxxxxxxxx [equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of Kashtan, Daniel [Daniel.Kashtan@xxxxxxx]
Sent: Monday, June 21, 2010 12:39 PM
Subject: [equinox-dev] Question about Quickstart Guide, launching the framework
I am up to the point in the Quickstart Guide where I am ready to launch the framework, but I am not sure how. The "OSGI in Action" book I have shows that it implemented its shells as bundles and has me all kinds of confused. Does the Guide imply that the hello bundles is supposed to be activated?
This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail.
equinox-dev mailing list
equinox-dev mailing list