[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [aspectj-users] Problem with load-time weaving
|
- From: Andrew Eisenberg <andrew@xxxxxxxxxxxx>
- Date: Wed, 19 Aug 2009 09:25:34 -0700
- Delivered-to: aspectj-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=NMms+68la9rHzZsLn+5/hluwU/UndNI9ZXbrhGVCJb0=; b=B7QNnfl+rMtCmuRyjB0NOdNvgkorg6A68ZtprzFXioUyOw40AujG6gQVX4ZSYojISj s0U3cnBcBnyDH+ioczHCcWefGppj2gOgVqmA9dvwAqu6leViZeewZXC9QGL0DMsZJnnu DQclLi4H1mkPeDXQlBjZ02XcnkKZ08fjjDKBY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=LK3pBneP8T4wfKZ85vBzV/yrYsIVoqhPJFjd0pNy4sNPfDz8evfyGNvRytxWEzTym5 iYFrnkL89PrWjgPpNYc4zdESRZzJjsoBfmkqhkUnFfW6cZhKMUb/e6q5Exz2lN2+zkYR hgpPvgAsOQJvl+loYK40z+x/sDpnxyIMqihHk=
A few questions:
1. Have you created a correct aop,xml and is it being used at runtime?
2. Is this aspect included in your aop.xml?
3. Are you running with the correct java agent?
4. Are any aspects being woven at runtime, or are you having a problem
just with this aspect?
Maybe answering these questions will help solve your problem.
--a
On Wed, Aug 19, 2009 at 9:08 AM, Nikolas
Nehmer<nnehmer@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi there,
>
> currently I have a problem with AJDT's load-time weaving capability.
> Unforntunately the following pointcut is not applied:
>
> pointcut mainMethodCall() : execution(static void main(String [])) &&
> !within(TestAspect) && !within(setup..*);
>
> For compile-time weaving the same aspect works out. Any ideas?
>
> Best Nikolas
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>