Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Help in Eclipse + AspectJ using AJDT

I tried that too. I tried putting other project class dir in the inpath
of the
Aspect project. Also, I tried putting spect dir in aspectpath of the
other project.
Nothing seem to be working. Aspect's advices are not applied to the
classes.
I don't see any error or warning in the pointcut definition or advice
definition though.

Srini

-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx
[mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
Sent: Tuesday, July 24, 2007 7:09 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Help in Eclipse + AspectJ using AJDT

Simplest way it to put the bin folder of your java project on the inpath
of your AspectJ project, the woven output will then appears in the bin
folder of your aspectj project.


On 23/07/07, Srinivas Palthepu <spalthepu@xxxxxxxxxxxxxx> wrote:
> Hi
>
> I am just started with AJDT in Eclipse. I created a sample toy aspect 
> and was able to apply to test Java class in the same directory. But 
> when I tried to apply to some other class in a different project or 
> directory It is not able to do that.  My question is how do aspects 
> and classes see each other.
> Does the aspects have to be in the same project as the classes they 
> are applied to? I tried to add to the Aspect In path the directory 
> from other project. But it did not help.
>
> Also, I am getting a runtime exception once in a while with Eclipse 
> 3.2 and AJDT 1.4.2.0705221209
>
> Any help is appreciated.
>
> thanks
> Srini
> _______________________________________________
> 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


Back to the top