Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Introducing JDT Weaving

Wow, that sounds like great technology. Thanks a lot for the explanation.

Eric

2008/12/3 Martin Lippert <lippert@xxxxxxx>:
> Hi Eric!
>
>> That sounds like great news. I quickly looked at the description of
>> these Equinox aspects and I wonder how all this now works on the
>> technical side of the weaver.
>
> Equinox Aspects is an extension to the Equinox runtime that allows you to
> use AspectJ LTW within an OSGi environment. Basically it calls the existing
> AspectJ weaver functionality from the classloading of OSGi, deals with the
> dynamics of OSGi and takes care of which aspects to weave into which
> bundles.
>
> Just like OSGi gives each bundle a classloader, Equinox Aspects gives each
> bundle a weaver and feeds it with the appropriate food.
>
>> Does AJDT now always weave at load time using Equinox or does Equinox
>> also support something like static weaving?
>
> Equinox Aspects supports only load-time weaving, but implements a caching
> mechanism for woven bytecode. The actual weaving occurs only once as long as
> you don't change your configuration.
>
> Cheers,
> -Martin
>
>
>
>>
>> Eric
>>
>> 2008/12/3 Andrew Eisenberg <andrew@xxxxxxxxxxxx>:
>>>
>>> Hi all,
>>>
>>> We would like to introduce the latest developments for AJDT.  We will
>>> be release some exciting new features including Java searches that
>>> include Aspects elements, ITD aware content assist and type
>>> hierarchies.
>>>
>>> We are asking the AspectJ and AJDT community to please try this new
>>> version out and report any bugs on this list or on bugzilla.  The
>>> update site is here:
>>> http://download.eclipse.org/tools/ajdt/34/dev/weaving
>>>
>>> This is a pre-release of AJDT 1.6.2 and therefore requires Eclipse
>>> 3.4.x.  AJDT 1.6.2 will be release towards the end of this month.
>>>
>>> In order to implement this we were left with no choice but to apply
>>> AspectJ to the Eclipse framework itself.  We created the JDT Weaving
>>> plugin that uses uses Equinox Aspects [1] to do the cross-plugin
>>> weaving.
>>>
>>> For more information on how to use and install see the Eclipse Wiki:
>>> http://wiki.eclipse.org/JDT_weaving_features
>>>
>>> As always we appreciate all feedback from the community.
>>>
>>> sincerely,
>>> The AJDT team
>>>
>>>
>>> [1] http://www.eclipse.org/equinox/incubator/aspects/index.php
>>> _______________________________________________
>>> aspectj-dev mailing list
>>> aspectj-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>>>
>>
>>
>>
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>



-- 
Eric Bodden
Sable Research Group, McGill University, Montréal, Canada
Got an interesting job offer? http://www.bodden.de/hire-me/


Back to the top