Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AspectJ <--> AspectWerkz translator

Hi Andrew

Good point indeed.

I don't think we as the core team will ship that but there are a
number of things in the pipe:
- translating from AW to AJ will be straightforward for annotation
defined aspects, a bit more complex for xml defined aspects. I plan to
write a how-to about that soon (*)
- translating from AJ to AW does not makes much sense. Do you have a use case ?
- translating from AJ code style to AJ 5 @AspectJ style back and forth
makes sense and is a good way to see where code style features could
not be mirrored to annotation style whilst preserving a "aspect and
advised types can be compiled with regular javac" property.
AJDT may provide a flip view that does that, and as @AspectJ becomes
available we will also write about it much more (*)

(*) : So why nothing to read about that yet ? Because @AspectJ ie
annotation style aspects will be available in AspectJ 5 M3, that will
ship soon. I want to base my writings on a milestones backed by some
AJDT build, and not only talk or write about what is on the cvs or in
nightly builds.

Have you already given a try to such a translation yourself ? What did
you spotted ?

Alex



On 7/13/05, Andrew Eisenberg <ade@xxxxxxxxx> wrote:
> Hi,
> 
> Seeing as how AspectJ and AspectWerkz have merged, I'm wondering if
> anyone's aware of a translation tool that will take AspectJ code and
> convert it to AspectWerkz (and the reverse).
> 
> thanks,
> --andrew
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


Back to the top