[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.ajdt] Re: AJDT or Equinox Aspects for Eclipse Applications?

Yes, in order to weave into Eclipse plugins (ie- OSGi bundles), you must use
Equinox Aspects.  In order to make your own plugin exposed to the weaver,
you must include an aop.xml file.

See the aspectJ programming guide for more info on aop.xml:
http://www.eclipse.org/aspectj/doc/next/devguide/ltw-configuration.html

See the Equinox Aspects page for more info on EA:
http://www.eclipse.org/equinox/incubator/aspects/index.php

Please post to the mailing list if you continue to have questions.


On 04/06/09 10:29 AM, in article h09094$lk8$1@xxxxxxxxxxxxxxxxx, "Jörg
Kiegeland" <kiegeland@xxxxxx> wrote:

> I am a newbie to AJDT and as I read the "Working with plug-in projects"
> section in the AJDT-Introduction , I thought aspectj would be supported
> also in Eclipse Applications. However I not got it working, and may it
> be that the "Inpath" / "Aspect Path" settings are relevant only for Java
> Applications? Weaving in my Eclipse Application (actually a JUnit
> Plugin-Test) works only if the target bundle and the aspect bundle are
> the same, weaving in a Java Application works generally for me.
> 
> Then I saw the Equinox Aspects project, however when starting my JUnit
> Plugin-Test , I found the log
> 
> [org.eclipse.equinox.weaving.aspectj] info Starting AspectJ weaving
> service ...
> 
> but no weaving between my target bundle and my aspect bundle happend
> (from logging and from execution behavior). So I get it not working with
> Equinox Aspects, too.
> 
> Any idea?