Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Weaving messages on the command line.


Hi Martin,

I've been working on this in the background, but recently getting 1.2 final sorted has been my priority.  Currently weaving messages won't be in 1.2 final but I hope to have something in shortly after that.  I've had a few problems because where the messages need to come out can vary depending on whether you do a compile that involves source or binary input.  Also I'm not happy with the mechanism for turning them on and off.

As of a run I did this morning, it currently looks like this (comments on the format welcome ... notice ITDs don't remember their originating line so right now the full ITD signature is included in the message):

Type 'Simple' (Simple.java) has intertyped method from 'AspectITD' (AspectITD.aj:'java.lang.String Simple.returnstring()')
Type 'Simple' (Simple.java) has intertyped method from 'AspectITD' (AspectITD.aj:'int Simple.returnint()')
Type 'Simple' (Simple.java) has intertyped field from 'AspectITD' (AspectITD.aj:'java.lang.String Simple.fieldstring')
Type 'Simple' (Simple.java) has intertyped field from 'AspectITD' (AspectITD.aj:'int Simple.fieldint')
Extending interface set for type 'Simple' (Simple.java) to include 'MarkerInterface' (AspectDeclare.aj)
Type Simple (Simple.java:7) advised by before advice from AspectAdvice (AspectAdvice.aj:8)
Type Simple (Simple.java:7) advised by after advice from AspectAdvice (AspectAdvice.aj:12)
Type Simple (Simple.java:7) advised by afterReturning advice from AspectAdvice (AspectAdvice.aj:16)
Type Simple (Simple.java:7) advised by afterThrowing advice from AspectAdvice (AspectAdvice.aj:20)
Type Simple (Simple.java:10) advised by before advice from AspectAdvice (AspectAdvice.aj:8)
Type Simple (Simple.java:10) advised by after advice from AspectAdvice (AspectAdvice.aj:12)
Type Simple (Simple.java:10) advised by afterReturning advice from AspectAdvice (AspectAdvice.aj:16)
Type Simple (Simple.java:10) advised by afterThrowing advice from AspectAdvice (AspectAdvice.aj:20)
Type Simple (Simple.java:15) advised by before advice from AspectAdvice (AspectAdvice.aj:8)
Type Simple (Simple.java:15) advised by after advice from AspectAdvice (AspectAdvice.aj:12)

If you want to experiment with it, I could attach my patches for HEAD to the bugzilla bug and you can try it for real?

Andy.

Back to the top