iquinox jar (org.aspectj.runtime、org.aspectj.weaver、org.eclipse.equinox.weaving.aspectj on bundles folder および org.eclipse) を使用して、OSGI で AspectJ Load Time Weaving (Spring なし) を使用しようとしています。https://wiki.eclipse.org/Equinox_Weaving_QuickStartによると、org.eclipse.osgi の物理的な場所と同じフォルダーにある .equinox.weaving.hook
バンドルの読み込み順序は次のとおりです。
[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]
フック jar を開始する方法を知りたいですか? どんな助けにも感謝します... ps バンドル「org.eclipse.osgi」とフラグメント「org.eclipse.equinox.weaving.hook」を「リンクされたコンテンツを含むバイナリプロジェクト」としてワークスペースにインポートすることで、誰かが問題を解決しました、しかし、それを行う方法がよくわかりません: https://www.eclipse.org/forums/index.php?t=msg&th=440862
返信ありがとうございます