[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] Cannot get the framework extension, org.eclipse.equinox.weaving.hook, to work in OSGI
- From: "Kashtan, Daniel" <Daniel.Kashtan@xxxxxxx>
- Date: Wed, 23 Jun 2010 12:24:39 -0400
- Accept-language: en-US
- Acceptlanguage: en-US
- Delivered-to: email@example.com
- Thread-index: AQHLEvCTyk4GeWCmOEqmEh2kvCrHzg==
- Thread-topic: Cannot get the framework extension, org.eclipse.equinox.weaving.hook, to work in OSGI
I have been trying very hard to get the Equinox Aspects Hello World project run correctly outside of Eclipse, just using a custom config.ini and the Equinox shell. I believe the last thing holding me up is that the weaving.hook fragment bundle is not hooking into the system bundle. I have all the files from the plugins folder of the Hello World demo in the same folder as my system bundle and I have the hello and hello.aspects bundle in the same folder. My config.ini is in the ./configuration folder. It is a simple setup and there shouldn't be a co-location problems with the hook bundle. I'll post my config.ini below.
osgi.bundles=org.eclipse.equinox.weaving.demo.hello.aspects, org.eclipse.equinox.weaving.aspectj_220.127.116.11808061839.jar, org.aspectj.weaver_18.104.22.16880703120000, org.aspectj.runtime_22.214.171.12480703120000, org.eclipse.equinox.weaving.demo.hello
I set the framework extension correctly right? Also, here is how I start the Equinox shell. If I enter start 3 I get an error, java.lang.NoClassDefFoundError: org.eclipse.equinox.service.weaving.IWeavingService
djkasht@zaius:~/workspaceBlueprint/EquinoxAspectsHellowWorld$ java -jar org.eclipse.osgi_3.4.0.v20080605-1900.jar -console -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.0.v20080605-1900
1 RESOLVED org.eclipse.equinox.weaving.hook_126.96.36.199808061839
2 RESOLVED org.eclipse.equinox.weaving.demo.hello.aspects_1.0.0
3 <<LAZY>> org.eclipse.equinox.weaving.aspectj_188.8.131.52808061839
4 RESOLVED org.aspectj.weaver_184.108.40.20680703120000
5 RESOLVED org.aspectj.runtime_220.127.116.1180703120000
6 RESOLVED org.eclipse.equinox.weaving.demo.hello_1.0.0
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.