Re: [aspectj-users] LTW and annotations

2008-10-03 Thread Simone Gianni
ff the static weaving. (I want to using eclipse not command line > apps, and automatically) > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ramnivas > Laddad > Sent: Thursday, October 02, 2008 8:12 PM > To: aspectj-users@eclipse.org > Subject: Re: [aspectj-u

RE: [aspectj-users] LTW and annotations

2008-10-02 Thread Háber János
D] [mailto:[EMAIL PROTECTED] On Behalf Of Ramnivas Laddad Sent: Thursday, October 02, 2008 8:12 PM To: aspectj-users@eclipse.org Subject: Re: [aspectj-users] LTW and annotations I agree with Simone. There isn't a good way to effectively find out all aspects using some classpath scanning

Re: [aspectj-users] LTW and annotations

2008-10-02 Thread Ramnivas Laddad
classloader.getResource method. And if the selected class is an > > @Aspect... load it... > > > > > > Janos > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Simone Gianni > > Sent:

Re: [aspectj-users] LTW and annotations

2008-10-02 Thread Simone Gianni
imone Gianni > Sent: Thursday, October 02, 2008 3:17 PM > To: aspectj-users@eclipse.org > Subject: Re: [aspectj-users] LTW and annotations > > If I understand how LTW works correctly, the problem is in class > loading. > > Consider the situation where you have a bean with a doS

RE: [aspectj-users] LTW and annotations

2008-10-02 Thread Háber János
d class is an @Aspect... load it... Janos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simone Gianni Sent: Thursday, October 02, 2008 3:17 PM To: aspectj-users@eclipse.org Subject: Re: [aspectj-users] LTW and annotations If I understand how LTW works

Re: [aspectj-users] LTW and annotations

2008-10-02 Thread Simone Gianni
If I understand how LTW works correctly, the problem is in class loading. Consider the situation where you have a bean with a doSomething method, and then have an advice that does something before that method. You application starts, it will load the bean with a new Bean(). At this point, the cla

[aspectj-users] LTW and annotations

2008-10-02 Thread Háber János
Hi! I have a question. I want to write an application. I using javaagent vm option to LTW. But in this case what needed in aop.xml (aop.xml required in this case if I not want to set any special weaving options?) If I only write: I get: "no aspects registered. Disabling weaver for class lo