Re: [aspectwerkz-user] From aspectwerkz to aspectJ
Alexandre Vasseur <[email protected]> Tue, 19 Jul 2005 09:03:16 +0200
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
Hi > 1. Is AspectJ going to support plain java syntax ? Yes. AspectJ "5" (aka 1.5, currently in 1.5 M2) does support code style (AspectJ aspect, pointcut, advice new keyword that extends the java language) and annotation style (aka @AspectJ, or plain java syntax ala AspectWerkz) You can expect good support for @AspectJ style in 1.5 M3 that will ship in some days. > 2. Which version of AspectJ/AJDT should I use with JDK 5 features and > eclipse 3.1? You need an AspectJ 1.5 build. Take the most recent build (we publish some of them quite often ). If you plan to work only in Eclipse 3.1, take a recent AJDT for Eclipse 3.1 (again, a recent build). > 3. Does AspectJ5 work with eclipse 3.1 ? Yes it does, and it has started to get some support for the plain java syntax as well http://blogs.codehaus.org/people/avasseur/archives/001128_aspectj_in_ajdt_a_world_premiere_.html Some links: http://www.eclipse.org/aspectj/downloads.php (take last good know development build for better plain java syntax) AJDT update url for Eclipse 3.1 and AspectJ 5 for last dev. build http://download.eclipse.org/technology/ajdt/31/dev/update (http://www.eclipse.org/ajdt/ , follow "take me straight to the download" link) I would advice to wait AspectJ 1.5 M3 and the AJDT build for it, but you can start with those links and send us back bugs / comments / etc (perhaps more on AspectJ user or dev mailing list - unless you face or anticipate a migration issue from AW) Alex On 7/19/05, [email protected] <[email protected]> wrote: > Hi, > Could you explain this ? > > 1. Is AspectJ going to support plain java syntax ? > 2. Which version of AspectJ/AJDT should I use with JDK 5 features and > eclipse 3.1? > 3. Does AspectJ5 work with eclipse 3.1 ? > > Mohan > > -----Original Message----- > From: xudong [mailto:[email protected]] > Sent: Tuesday, June 28, 2005 4:35 PM > To: [email protected]; 'Alexandre Vasseur' > Subject: RE: [aspectwerkz-user] From aspectwerkz to aspectJ > > Hi Alex, > > Thanks. :) > > Best wishes, > xudong > > -----Original Message----- > From: Alexandre Vasseur [mailto:[email protected]] > Sent: Monday, June 27, 2005 12:31 PM > To: [email protected] > Subject: Re: [aspectwerkz-user] From aspectwerkz to aspectJ > > Hi > > Let me give the details: > AspectJ as available today is wether M2, wether "nightly build ie > upccoming M3". > > If I assume you need the "plain java syntax" ie aspect defined with > annotation aka @AspectJ then this is part of M3. You can thus use the > nightly build, or wait M3. > The "how-to" material is still quite limited, though feature complete > from a syntax point of view is close (left aside hot deployment and some > other things). > I am planning to write some more how-to very soon. > > Aside there is some work going on to better integrate AJDT (AspectJ > Eclipse > plugin) for the @Aspect syntax but again this is rather under > development. > > AspectJ M3 is due mid july, final is end of the summer. > For migration I would advise to wait some more. For new needs, I would > strongly advise it as soon as M3 is out. > > We will definitely make announcements and write how-to to help you in > this phases. > Alex > > > On 6/27/05, xudong <[email protected]> wrote: > > Hi, > > > > Now aspectwerkz has been *merged* into AspectJ, so I am wondering > > whether it is better to use AspectJ *NOW*? > > > > Thanks. > > > > Best wishes, > > xudong > > > > > > This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. >