I'm trying to use aspectJ Load Time Weaving (no Spring) on OSGI with help of equinox jars (org.aspectj.runtime, org.aspectj.weaver, org.eclipse.equinox.weaving.aspectj on bundles folder and org.eclipse.equinox.weaving.hook located at the same folder as org.eclipse.osgi physical location) according to: https://wiki.eclipse.org/Equinox_Weaving_QuickStart
Here's the loading order of bundles:
[org.eclipse.equinox.weaving.hook::1 -> INSTALLED]
[org.aspectj.runtime::11 -> INSTALLED]
[org.aspectj.weaver::12 -> INSTALLED]
[org.eclipse.equinox.weaving.aspectj::13 -> INSTALLED]
[com.common-calculations_2.11::19 -> INSTALLED] //here I used aspects
[com.instrumentation_2.11::48 -> INSTALLED] //here I defined the aspects
Done installing bundles
Starting bundles...
[org.eclipse.equinox.weaving.aspectj::13 -> ACTIVE]
[org.aspectj.runtime::11 -> ACTIVE]
[org.eclipse.osgi::0 -> ACTIVE]
FRAGMENT Bundle - skip starting: org.eclipse.equinox.weaving.hook
FRAGMENT Bundle - skip starting: org.aspectj.runtime
[org.aspectj.weaver::12 -> ACTIVE]
FRAGMENT Bundle - skip starting: org.eclipse.equinox.weaving.aspectj
Bundle started: [com.common-calculations_2.11::19 -> ACTIVE]
Bundle started: [com.instrumentation_2.11::48 -> ACTIVE]
I want to know how should I start the hook jar? I'll appreciate any help... p.s. someone solved his issue by importing the bundle "org.eclipse.osgi" and the fragment "org.eclipse.equinox.weaving.hook" as "Binary Project with Linked Content" into his workspace, but I'm not really sure how to do that: https://www.eclipse.org/forums/index.php?t=msg&th=440862
Thanks for your replies