After upgrading an RCP application from Helios to Indigo, I noticed that AspectJ advice is no longer being applied. The weaving is enabled with -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook. There is still a message like "[org.eclipse.equinox.weaving.hook] info adding AspectJ hooks ..." on startup, but that's it; no errors. Anyone have success with Equinox Weaving in the Indigo release?
Is the org.eclipse.equinox.weaving.aspectj bundle still being autostarted?
Go to configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
Look for the org.eclipse.equinox.weaving.aspectj line and make sure that the line ends with 'true' not 'false'.
Of course, if you are using an RCP app, it may not use the simpleconfigurator to determine starting bundles. If that's the case, you will need to specify the auto startup for the bundle in your config.ini file. You can do this like so. In the osgi.bundles line of your config.ini, add this: org.eclipse.equinox.weaving.aspectj@2\:start