Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Status and future plans for AspectJ/AJDT? (mustang support in particular)
Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63421] Sun, 02 April 2006 15:57 Go to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.no

With AspectJ/AJDT since December offering full support for JDK1.5 and
runtime weaving and lots of other great new stuff, what are the current and
future plans for AspectJ/AJDT ? In particular what will happen with
AspectJ/AJDT in order to be compatible with Mustang and Eclipse 3.2 as they
are released later this year ?

Will AspectJ play nice with the changes to the class format in mustang and
with the integrated JSR 269 annotation processor in the javac 1.6 compiler
(among other issues, if ajc is continue to be a viable replacement for javac
surely it must also support the internal annotation processor).

The reason I ask it that I would like to be able to use JDK1.6 with it's new
JSR 269 annotation processing + eclipse 3.2 + AspectJ/AJDT (and maybe Spring
but that is another issue). Will that be possible? If yes, when ?

Thanks,
Morten
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63467 is a reply to message #63421] Sun, 02 April 2006 17:30 Go to previous messageGo to next message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
I can answer the AJDT side of things - yes we will fully support Eclipse
3.2. We're working on a development build to support yesterday's 3.2M6
milestone, and will continue with development builds until a final AJDT
1.4 release very close to the Eclipse 3.2 release. Our priority is making
sure AJDT can be used with large projects - so things like memory usage
and performance, plus tools to manage high levels of crosscutting.

Matt.

MortenCh wrote:
> With AspectJ/AJDT since December offering full support for JDK1.5 and
> runtime weaving and lots of other great new stuff, what are the current and
> future plans for AspectJ/AJDT ? In particular what will happen with
> AspectJ/AJDT in order to be compatible with Mustang and Eclipse 3.2 as they
> are released later this year ?

> Will AspectJ play nice with the changes to the class format in mustang and
> with the integrated JSR 269 annotation processor in the javac 1.6 compiler
> (among other issues, if ajc is continue to be a viable replacement for javac
> surely it must also support the internal annotation processor).

> The reason I ask it that I would like to be able to use JDK1.6 with it's new
> JSR 269 annotation processing + eclipse 3.2 + AspectJ/AJDT (and maybe Spring
> but that is another issue). Will that be possible? If yes, when ?

> Thanks,
> Morten
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63513 is a reply to message #63421] Sun, 02 April 2006 18:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clemas.uk.ibm.com

MortenCh wrote:
> With AspectJ/AJDT since December offering full support for JDK1.5 and
> runtime weaving and lots of other great new stuff, what are the current and
> future plans for AspectJ/AJDT ? In particular what will happen with
> AspectJ/AJDT in order to be compatible with Mustang and Eclipse 3.2 as they
> are released later this year ?
>
> Will AspectJ play nice with the changes to the class format in mustang and
> with the integrated JSR 269 annotation processor in the javac 1.6 compiler
> (among other issues, if ajc is continue to be a viable replacement for javac
> surely it must also support the internal annotation processor).
>
> The reason I ask it that I would like to be able to use JDK1.6 with it's new
> JSR 269 annotation processing + eclipse 3.2 + AspectJ/AJDT (and maybe Spring
> but that is another issue). Will that be possible? If yes, when ?
>
> Thanks,
> Morten
>
>

And i'll take the AspectJ question. When Eclipse 3.2 is 'complete' we
will upgrade AspectJ to be based on that level of the compiler. At that
point we will pick up their support for jsr202 (class file format
changes) and jsr269 (annotation processing spec). I know support for the
former is already in the 3.2 milestones, but I don't think full support
for jsr269 is (feel free to correct me if I'm wrong??). There will be
an outstanding question about the class file format changes and our
weaver which I've not tackled yet.

Aim for the next few days is AspectJ1.5.1 - I have one more incremental
compilation bug to fix before it ships. As Matt says, the main focus
right now is that we want to scale up and build larger projects, in
shorter time and using less memory - and 1.5.1 (and accompanying AJDT)
is a first step towards that, requiring half the memory that 1.5.0 did
under Eclipse.

Andy.
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63606 is a reply to message #63513] Mon, 03 April 2006 16:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.no

"Andy Clement" <clemas@uk.ibm.com> wrote in message
news:e0p4gd$hdh$1@utils.eclipse.org...
> And i'll take the AspectJ question. When Eclipse 3.2 is 'complete' we
> will upgrade AspectJ to be based on that level of the compiler. At that
> point we will pick up their support for jsr202 (class file format changes)
> and jsr269 (annotation processing spec). I know support for the former is
> already in the 3.2 milestones, but I don't think full support for jsr269
> is (feel free to correct me if I'm wrong??). There will be an outstanding
> question about the class file format changes and our weaver which I've not
> tackled yet.

First of all, thanks for the comprehensive answer!

Sounds great. I look forward to try mustang + eclipse 3.2 + aspectj out! As
you said
there might be a problem with jsr269 (but not because of AspectJ).

> Aim for the next few days is AspectJ1.5.1 - I have one more incremental
> compilation bug to fix before it ships. As Matt says, the main focus
> right now is that we want to scale up and build larger projects, in
> shorter time and using less memory - and 1.5.1 (and accompanying AJDT) is
> a first step towards that, requiring half the memory that 1.5.0 did under
> Eclipse.

Sounds like a good goal.... If I can blatantly advertise for my special
needs here,
I would like that AspectJ/AJDT offers support for multiple source/output
folders which I
find are quite useful for java projects. I think such a feaure should be in
line with your goal
of "scalability" as it allows the developer to better manage large/complex
projects. As I recall
there is already some bug reports on this. Any chance we will see support
for this ?

Cheers,
Morten Christensen
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63627 is a reply to message #63467] Mon, 03 April 2006 16:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.no

"Matt Chapman" <mpchapman@gmail.com> wrote in message
news:bd656b314910b7b97583dd74bcebcc46$1@www.eclipse.org...
>I can answer the AJDT side of things - yes we will fully support Eclipse
>3.2. We're working on a development build to support yesterday's 3.2M6
>milestone, and will continue with development builds until a final AJDT 1.4
>release very close to the Eclipse 3.2 release. Our priority is making sure
>AJDT can be used with large projects - so things like memory usage and
>performance, plus tools to manage high levels of crosscutting.

Thanks for the in-depth answer! I look forward to try it. In particular I
like that
you aim for a release very close to eclipse 3.2.

I have made some more comments in a seperate reply about AspectJ.

Morten Christensen
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63650 is a reply to message #63606] Mon, 03 April 2006 18:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: clemas.uk.ibm.com

MortenCh wrote:
> Sounds like a good goal.... If I can blatantly advertise for my special
> needs here,
> I would like that AspectJ/AJDT offers support for multiple source/output
> folders which I
> find are quite useful for java projects. I think such a feaure should be in
> line with your goal
> of "scalability" as it allows the developer to better manage large/complex
> projects. As I recall
> there is already some bug reports on this. Any chance we will see support
> for this ?

That is becoming a popular bug ... maybe we'll have to up its priority ;)

Andy.
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #63693 is a reply to message #63513] Tue, 04 April 2006 02:35 Go to previous messageGo to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
Andy,

I'd be interested to know about your findings about Java6 class file
format changes. More specifically how are you going to calculate or
update ClassMapTable data structures that are added for bytecode version
50. Basic idea is that for each conditional branch you have to provide
state information for local variables as well as stack state. There is
some optimization can be used to compress such info (e.g. use delta from
previous stack frame).
So, when method bytecode is changed by AJ weaver, and when bytecode
version is 50+, stack map frames has to be recalculated if woven code
changed or added new variables or stack frames or introduced new
conditional branches or try catch blocks. You can, of course downgrade
bytecode version to 49 (Java 5 level) to fall back to old verifier and
this would not make much of the difference (unless someone will use
undocumented jvm options to force use of new verifier) since there are
no new features introduced in Java 6.

By the way, if there are plans to migrate AJ code to use ASM for
bytecode manipulation? It has been suggested some time ago and decision
been postponed till AJ 5 release.

regards,
Eugene

PS: While working on Java 6 support in ASM framework we did some
research around partial stack map updates and implemented incremental
transformer for LocalVariableSorter adapter (which allows to introduce
new variables and renumber existing vars). We also have option to
recalculate stack map info from scratch and to expand packed frames.


Andy Clement wrote:

....

> And i'll take the AspectJ question. When Eclipse 3.2 is 'complete' we
> will upgrade AspectJ to be based on that level of the compiler. At that
> point we will pick up their support for jsr202 (class file format
> changes) and jsr269 (annotation processing spec). I know support for the
> former is already in the 3.2 milestones, but I don't think full support
> for jsr269 is (feel free to correct me if I'm wrong??). There will be
> an outstanding question about the class file format changes and our
> weaver which I've not tackled yet.
>
> Aim for the next few days is AspectJ1.5.1 - I have one more incremental
> compilation bug to fix before it ships. As Matt says, the main focus
> right now is that we want to scale up and build larger projects, in
> shorter time and using less memory - and 1.5.1 (and accompanying AJDT)
> is a first step towards that, requiring half the memory that 1.5.0 did
> under Eclipse.
>
> Andy.
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #556704 is a reply to message #63693] Thu, 02 September 2010 11:50 Go to previous messageGo to next message
Michael Herrmann is currently offline Michael HerrmannFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

are there any news on the support of annotation processing as per JSR 269 in ajc? I've been a little out of touch with AspectJ for a while, but it doesn't seem like the ajc command line tool (at least) supports annotation processing like javac ( http://download.oracle.com/javase/6/docs/technotes/tools/win dows/javac.html#processing).

Thanks!

Best regards,
Michael

[Updated on: Thu, 02 September 2010 11:50]

Report message to a moderator

Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #592884 is a reply to message #63421] Sun, 02 April 2006 17:30 Go to previous messageGo to next message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
I can answer the AJDT side of things - yes we will fully support Eclipse
3.2. We're working on a development build to support yesterday's 3.2M6
milestone, and will continue with development builds until a final AJDT
1.4 release very close to the Eclipse 3.2 release. Our priority is making
sure AJDT can be used with large projects - so things like memory usage
and performance, plus tools to manage high levels of crosscutting.

Matt.

MortenCh wrote:
> With AspectJ/AJDT since December offering full support for JDK1.5 and
> runtime weaving and lots of other great new stuff, what are the current and
> future plans for AspectJ/AJDT ? In particular what will happen with
> AspectJ/AJDT in order to be compatible with Mustang and Eclipse 3.2 as they
> are released later this year ?

> Will AspectJ play nice with the changes to the class format in mustang and
> with the integrated JSR 269 annotation processor in the javac 1.6 compiler
> (among other issues, if ajc is continue to be a viable replacement for javac
> surely it must also support the internal annotation processor).

> The reason I ask it that I would like to be able to use JDK1.6 with it's new
> JSR 269 annotation processing + eclipse 3.2 + AspectJ/AJDT (and maybe Spring
> but that is another issue). Will that be possible? If yes, when ?

> Thanks,
> Morten
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #592910 is a reply to message #63421] Sun, 02 April 2006 18:17 Go to previous messageGo to next message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
MortenCh wrote:
> With AspectJ/AJDT since December offering full support for JDK1.5 and
> runtime weaving and lots of other great new stuff, what are the current and
> future plans for AspectJ/AJDT ? In particular what will happen with
> AspectJ/AJDT in order to be compatible with Mustang and Eclipse 3.2 as they
> are released later this year ?
>
> Will AspectJ play nice with the changes to the class format in mustang and
> with the integrated JSR 269 annotation processor in the javac 1.6 compiler
> (among other issues, if ajc is continue to be a viable replacement for javac
> surely it must also support the internal annotation processor).
>
> The reason I ask it that I would like to be able to use JDK1.6 with it's new
> JSR 269 annotation processing + eclipse 3.2 + AspectJ/AJDT (and maybe Spring
> but that is another issue). Will that be possible? If yes, when ?
>
> Thanks,
> Morten
>
>

And i'll take the AspectJ question. When Eclipse 3.2 is 'complete' we
will upgrade AspectJ to be based on that level of the compiler. At that
point we will pick up their support for jsr202 (class file format
changes) and jsr269 (annotation processing spec). I know support for the
former is already in the 3.2 milestones, but I don't think full support
for jsr269 is (feel free to correct me if I'm wrong??). There will be
an outstanding question about the class file format changes and our
weaver which I've not tackled yet.

Aim for the next few days is AspectJ1.5.1 - I have one more incremental
compilation bug to fix before it ships. As Matt says, the main focus
right now is that we want to scale up and build larger projects, in
shorter time and using less memory - and 1.5.1 (and accompanying AJDT)
is a first step towards that, requiring half the memory that 1.5.0 did
under Eclipse.

Andy.
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #592953 is a reply to message #63513] Mon, 03 April 2006 16:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.no

"Andy Clement" <clemas@uk.ibm.com> wrote in message
news:e0p4gd$hdh$1@utils.eclipse.org...
> And i'll take the AspectJ question. When Eclipse 3.2 is 'complete' we
> will upgrade AspectJ to be based on that level of the compiler. At that
> point we will pick up their support for jsr202 (class file format changes)
> and jsr269 (annotation processing spec). I know support for the former is
> already in the 3.2 milestones, but I don't think full support for jsr269
> is (feel free to correct me if I'm wrong??). There will be an outstanding
> question about the class file format changes and our weaver which I've not
> tackled yet.

First of all, thanks for the comprehensive answer!

Sounds great. I look forward to try mustang + eclipse 3.2 + aspectj out! As
you said
there might be a problem with jsr269 (but not because of AspectJ).

> Aim for the next few days is AspectJ1.5.1 - I have one more incremental
> compilation bug to fix before it ships. As Matt says, the main focus
> right now is that we want to scale up and build larger projects, in
> shorter time and using less memory - and 1.5.1 (and accompanying AJDT) is
> a first step towards that, requiring half the memory that 1.5.0 did under
> Eclipse.

Sounds like a good goal.... If I can blatantly advertise for my special
needs here,
I would like that AspectJ/AJDT offers support for multiple source/output
folders which I
find are quite useful for java projects. I think such a feaure should be in
line with your goal
of "scalability" as it allows the developer to better manage large/complex
projects. As I recall
there is already some bug reports on this. Any chance we will see support
for this ?

Cheers,
Morten Christensen
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #592966 is a reply to message #63467] Mon, 03 April 2006 16:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.no

"Matt Chapman" <mpchapman@gmail.com> wrote in message
news:bd656b314910b7b97583dd74bcebcc46$1@www.eclipse.org...
>I can answer the AJDT side of things - yes we will fully support Eclipse
>3.2. We're working on a development build to support yesterday's 3.2M6
>milestone, and will continue with development builds until a final AJDT 1.4
>release very close to the Eclipse 3.2 release. Our priority is making sure
>AJDT can be used with large projects - so things like memory usage and
>performance, plus tools to manage high levels of crosscutting.

Thanks for the in-depth answer! I look forward to try it. In particular I
like that
you aim for a release very close to eclipse 3.2.

I have made some more comments in a seperate reply about AspectJ.

Morten Christensen
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #592983 is a reply to message #63606] Mon, 03 April 2006 18:25 Go to previous messageGo to next message
Andrew Clement is currently offline Andrew ClementFriend
Messages: 162
Registered: July 2009
Senior Member
MortenCh wrote:
> Sounds like a good goal.... If I can blatantly advertise for my special
> needs here,
> I would like that AspectJ/AJDT offers support for multiple source/output
> folders which I
> find are quite useful for java projects. I think such a feaure should be in
> line with your goal
> of "scalability" as it allows the developer to better manage large/complex
> projects. As I recall
> there is already some bug reports on this. Any chance we will see support
> for this ?

That is becoming a popular bug ... maybe we'll have to up its priority ;)

Andy.
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #593003 is a reply to message #63513] Tue, 04 April 2006 02:35 Go to previous messageGo to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
Andy,

I'd be interested to know about your findings about Java6 class file
format changes. More specifically how are you going to calculate or
update ClassMapTable data structures that are added for bytecode version
50. Basic idea is that for each conditional branch you have to provide
state information for local variables as well as stack state. There is
some optimization can be used to compress such info (e.g. use delta from
previous stack frame).
So, when method bytecode is changed by AJ weaver, and when bytecode
version is 50+, stack map frames has to be recalculated if woven code
changed or added new variables or stack frames or introduced new
conditional branches or try catch blocks. You can, of course downgrade
bytecode version to 49 (Java 5 level) to fall back to old verifier and
this would not make much of the difference (unless someone will use
undocumented jvm options to force use of new verifier) since there are
no new features introduced in Java 6.

By the way, if there are plans to migrate AJ code to use ASM for
bytecode manipulation? It has been suggested some time ago and decision
been postponed till AJ 5 release.

regards,
Eugene

PS: While working on Java 6 support in ASM framework we did some
research around partial stack map updates and implemented incremental
transformer for LocalVariableSorter adapter (which allows to introduce
new variables and renumber existing vars). We also have option to
recalculate stack map info from scratch and to expand packed frames.


Andy Clement wrote:

....

> And i'll take the AspectJ question. When Eclipse 3.2 is 'complete' we
> will upgrade AspectJ to be based on that level of the compiler. At that
> point we will pick up their support for jsr202 (class file format
> changes) and jsr269 (annotation processing spec). I know support for the
> former is already in the 3.2 milestones, but I don't think full support
> for jsr269 is (feel free to correct me if I'm wrong??). There will be
> an outstanding question about the class file format changes and our
> weaver which I've not tackled yet.
>
> Aim for the next few days is AspectJ1.5.1 - I have one more incremental
> compilation bug to fix before it ships. As Matt says, the main focus
> right now is that we want to scale up and build larger projects, in
> shorter time and using less memory - and 1.5.1 (and accompanying AJDT)
> is a first step towards that, requiring half the memory that 1.5.0 did
> under Eclipse.
>
> Andy.
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #601248 is a reply to message #63693] Thu, 02 September 2010 11:50 Go to previous messageGo to next message
Michael Herrmann is currently offline Michael HerrmannFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

are there any news on the support of annotation processing as per JSR 269 in ajc? I've been a little out of touch with AspectJ for a while, but it doesn't seem like the ajc command line tool (at least) supports annotation processing like javac ( http://download.oracle.com/javase/6/docs/technotes/tools/win dows/javac.html#processing).

Thanks!

Best regards,
Michael
Re: Status and future plans for AspectJ/AJDT? (mustang support in particular) [message #624284 is a reply to message #601248] Wed, 22 September 2010 04:32 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 382
Registered: July 2009
Senior Member
Michael,

I'd recommend that you ask this question on the AspectJ users mailing list.

http://eclipse.org/aspectj/userlists.php
Previous Topic:update site including org.eclipse.contribution.weaving produces many plugins
Next Topic:standalone mode
Goto Forum:
  


Current Time: Sun Dec 22 01:03:06 GMT 2024

Powered by FUDForum. Page generated in 0.05518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top