Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Weaving Already Woven classes

On 17/09/2007, jennie <jenniemai81@xxxxxxxxx> wrote:
> Thanks for your quick response, Andy.
>
> Is there a reason to re-weave "old" aspects if they
> have not changed?

Yes - working out what was done by the previous weave is difficult and
so we revert to the original class and apply both aspects together -
much simpler.

> >From the weaver messages, it seems to know which types
> are already woven and which aspects have been
> previously applied -- is there a way to only weave
> "new" aspects to these previously woven types?
>
> I guess my question is, are there plans for an
> "incremental" weaving feature?

It isn't on the top of the list of things that need doing but with
intermediate transforms occurring between the weaving stages damaging
our ability to recover the original class and apply the aspects
together, it may become more important.

Why do you need it?  Do you think it will perform better?  I imagine
working out what not to touch because it is in the class file due to
the previous weave would cost about the same amount as redoing the
entire weave in some cases.

Andy


Back to the top