[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[equinox-dev] Re: equinox-dev Digest, Vol 38, Issue 12
- From: Rowan Limb <soorbus@xxxxxxxxx>
- Date: Mon, 9 Jun 2008 06:38:10 +0100
- Delivered-to: firstname.lastname@example.org
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id :content-transfer-encoding:from:subject:date:to:x-mailer; b=CvcJLcFY6r2buJ9zQeCsC2zKZ4lk3cC/2ussYGXQR2IEEwwBTjinpwH8pnHcbZjn3g 2MIWPLMZQ7uIgfTiOtOfpnUI0fAzUNq/+fcLxyloLajowp7fgmOxIPU4ZaEd050E4ZV2 GToAZF56zdUG5icsZlbLSJAzcFSMf09juKsbY=
thanks for the reply. I have been looking at the demo examples and
trying an example based on them. I get the tracing bundles installed
using the osgi console. When I run my 'Hello World' example, I get
'Hello World' out but no tracing output.
I have demo.hello , demo.tracing and demo.tracing.coopt as separate
bundles. Each have the MANIFESTs as shown in the demo examples and
the aop.xml in just demo.tracing.co-opt as per example.
Do the aspects bundles require an Activator, or are they treated like
library bundles? I have tried both ways.
According to Martin Lippert, this is all one needs to do (and is what
I have done):
"I am not sure if I understand your question correctly but it is
to define an aspect inside a separate bundle and let this aspect be
woven into all other bundles with Equinox Aspects. This means your
aspect bundle can define a pointcut that affects all other bundles
without touching those other bundles at all.
Just implement your aspect inside a bundle, define the aop.xml file and
"Eclipse-SupplementBundle: *" in the manifest. Thats it.
taken from: http://www.eclipsezone.com/eclipse/forums/m92227380.html
Well I wish it was that simple! It is not for me.
I am sorry, but right now Equinox Aspects (formerly known as AOSGI) is
not documented very well. We will work on that soon.
Please take a look at the CVS: http://dev.eclipse.org/viewcvs/
There you will find demos and test cases. I hope these will help you
You can also find some information on how to set up projects to run
with Equinox Aspects in the slides of a session Martin and me gave at
Eclipse Forum Europe some weeks ago: http://heiko.seebergers.de/
Please do not hesitate to contact me for further help.
Am 06.06.2008 um 16:53 schrieb Rowan:
I am trying to use aspects in a standalone equinox, ie not inside
eclipse. I can get opt-in to work OK but (aspects in same bundle)
but not if I use a separate bundle for the aspects. The bundle
installs OK but nothing happens. I see in the demo examples for co-
opt that a bundle supplements equinox extension is required. What is
this and where do I find it? Is there a fully worked example I could
equinox-dev mailing list