Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Future plans for AJDT

> -----Original Message-----
> From: aspectj-users-admin@xxxxxxxxxxx [mailto:aspectj-users-
> admin@xxxxxxxxxxx] On Behalf Of Nicholas Lesiecki
> Sent: Friday, November 14, 2003 12:38 PM
> To: aspectj-users@xxxxxxxxxxx
> Subject: Re: [aspectj-users] Future plans for AJDT
> 
> > That could represent the most
> > efficient way of working on large aspects, as long as there is a clear
> UI
> > and shortcut for invoking an *incremental* build of the aspects.
> 
> What would an *incremental* build of the aspects constitute? Is it
> different
> from a normal incremental build?

It is different, and takes significantly less time.  In incremental mode the
compiler hangs on to the unchanged class' bytecodes so that it can re-weave
them quickly.  

> > I shy away
> > from it some because it might cause people to consider their aspects and
> > classes with undue separation
> 
> I agree in theory. In practice, changing an aspect always requires a full
> rebuild, making the process of changing it very different from the process
> of changing a simple Java file. So there's already a separation caused by
> the performance characteristics.

Yup.  But another thing worth considering here is improved dependency
analysis of aspects.  For example, it will be straightforward to improve the
incremental behavior to restrict recompilation to the aspect if only the
body of advice changes.  More will need rebuilding when you change a
pointcut designator, but that should be inline with expectations.  So in the
long term I'm confident that the tools will enable a uniform way of working
with and reasoning about classes and aspects.  That's not to say that the
user doesn't need more control over rebuilding before these improvements are
implemented.

> Looking forward to the UI document.

Due to the wide range of Java projects and practices we need user feedback
to get these sorts of options and defaults right.  I expect to post the
document sometime in the next few weeks, and look forward to your comments.

Cheers,

Mik

--
http://kerstens.org/mik




Back to the top