> If it uses AspectJ, it *does* need the aspectjrt.jar.
Yes, and by the way, Marcos: the 'rt' in 'aspectjrt' means 'runtime',
becaute the library is needed - you may have guessed already - at
runtime. ;-)
>> I'm trying to create a jar file from two projects, one java project
>> and one aspectj pr
If it uses AspectJ, it *does* need the aspectjrt.jar.
On 2/8/07, Marcos Fábio <[EMAIL PROTECTED]> wrote:
Hi all,
I'm trying to create a jar file from two projects, one java project and one
aspectj project, both are projects in the eclipse, and i'm using the AJDT.
This jar file doesn't needs
Hi all,
I'm trying to create a jar file from two projects, one java project and one
aspectj project, both are projects in the eclipse, and i'm using the AJDT.
This jar file doesn't needs the aspectrt,jar, it's right? But when i put the
jar file into another project, the aspectjrt.jar is require
It sounds like load-time weaving (LTW) is what you want. You can build
normally with eclipse (i.e., using javac), then use the -javaagent
option (for java 5) to have the AspectJ weaver weave in your logging
aspects. Even your build.xml wouldn't have to change, unless you run the
application wit
Hi,
This is a follow-on to my query a couple of days ago about using pointcuts
defined in an external file. I guess I was a bit premature in posting. It
had been a few months since I had looked at my problems and I should have
taken the time to review. So, sorry for the noise.
Ok, so here's w
See the discussion on bugzilla bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=68603
And enhancement request https://bugs.eclipse.org/bugs/show_bug.cgi?id=113184
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vincenz Braun
Sent: Thursday, February 08
Fine, the missing word and a missing j did not made the post useless :-)
(So args ha a instanceof semantic and one would expect aspectj not
to match null values.)
I think a lot of code depends on this "bug" and expects only runtime
checks when narrowing the
argument type. (e.g. args(.., Sp
On 2/8/07, Vincenz Braun <[EMAIL PROTECTED]> wrote:
So args ha a instanceof semantic and one would aspect null values not to match.
Normally, with statically determinable pointcuts this is not the case in
aspectj:
I would be surprised if this was not a bug. Surely this cannot be intentional.
I would suggest to repost this issue under a new topic. (e.g. args
pointcut designature and null arguments).
So it is more likely to get a post from the developers.
Here you find an older discussion of this topic:
http://dev.eclipse.org/mhonarc/lists/aspectj-dev/msg01676.html
So args ha a ins
But it doesn't seem to work when the Transaction object is null? Is that
expected?
Yes, because args(v) where v has type T says that the concrete type at
runtime of the object that is passed in as argument has to be of type
T (or any subtype). null is not of type T.
Having said that, stricktly
Hi again,
We're getting this to work:
pointcut bcMethodsTransactionAfterMethods(Transaction tx):
(execution (!private * com.ericsson.nms.cif.cs.*.*(..,
Transaction)) && args(.., tx) );
before(Transaction tx): bcMethodsTransactionBeforeMet
11 matches
Mail list logo