[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] @AJ or conventional syntax?

I would definitely also take a look at Cobertura:
http://cobertura.sourceforge.net/  The most recent release says ?Added
support for classes compiled with AspectJ?

I have been using Emma with AspectJ, it?s a nice open source bytecode-based
tool. I am able to report package, method and block-level coverage. 

However, it doesn?t report line-level coverage information for AspectJ code
because it complains about missing line numbers for synthetic AspectJ
methods (aspectOf() etc.). The lead Emma developer, Vlad, takes the position
AspectJ should be marking its methods as Java synthetic rather than using a
custom AjSynthetic attribute. In past, some other tools have been confused
by having AspectJ marking methods as synthetic (or give them a line number
of zero).


________________________________________
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Matthew Webster
Sent: Friday, December 09, 2005 2:52 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] @AJ or conventional syntax?


Eduardo, 

I believe Emma works with AspectJ. 

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal) 
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx 
http://w3.hursley.ibm.com/~websterm/ 
Please respond to aspectj-users@xxxxxxxxxxx 
Sent by:        aspectj-users-bounces@xxxxxxxxxxx 
To:        aspectj-users@xxxxxxxxxxx 
cc:         
Subject:        Re: [aspectj-users] @AJ or conventional syntax? 


I was just wondering on this one... If one uses  @AJ syntax, his
aspects can be checked against a code coverage tool... Maybe no tool
supports AspectJ yet, I don't know...

2005/11/21, Alexandru Popescu <the.mindstorm.mailinglist@xxxxxxxxx>:
> #: Eduardo Rocha changed the world a bit at a time by saying on
 11/21/2005 6:59 PM :#
> > Alexandru, why do you prefer @AJ syntax?
> >
>
> I am currently using the traditional AJ; but the reasons I was saying I
would start using the @aj are:
> - using the default compiler
> - Java editors are currently more advanced than the AJ editor
> - not all developers are using Eclipse
>
> Not very technical reasons, but for a team it is quite important to avoid
any frustrations and
> limitations.
>
> cheers,
>
> ./alex
> --
> .w( the_mindstorm )p.
>
> > 2005/11/21, Alexandru Popescu <the.mindstorm.mailinglist@xxxxxxxxx>:
> >> #: Eduardo Rocha changed the world a bit at a time by saying on
 11/21/2005 2:58 PM :#
> >> > I would like to know if people are willing to move to @AJ syntax when
> >> > possible, or prefer to continue with traditional syntax even when
> >> > dealing with Java 5.
> >> >
> >> > Which one do people find better for reading?
> >> >
> >> > A major drawback I see with @AJ syntax is that it doesn't allow me to
> >> > navigate through the marked join points (in Eclipse).
> >> >
> >> > I would like to hear from other users.
> >> >
> >> > Thanks.
> >> > _______________________________________________
> >> > aspectj-users mailing list
> >> > aspectj-users@xxxxxxxxxxx
> >> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
> >> >
> >>
> >> As pointed in one of my previous mails I would migrate to @AJ syntax
immediately it reaches the
> >> richness of traditional approach. Unfortunately, at this moment I don't
have enough time to give it
> >> a chance, but I am keeping an eye on it and immediately I feel it is
there I will jump to use it.
> >>
> >> Matt how comes that these are complementary? Shouldn't be the same
think writting your code in @AJ
> >> or in traditional mode/style?
> >>
> >> ./alex
> >> --
> >> .w( the_mindstorm )p.
> >>
> >> _______________________________________________
> >> aspectj-users mailing list
> >> aspectj-users@xxxxxxxxxxx
> >> https://dev.eclipse.org/mailman/listinfo/aspectj-users
> >>
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
> >
> >
> >
> >
> > !DSPAM:4381fcf0286044807410885!
> >
> >
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users