[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] Abstract and Concrete Aspects
- From: António Lopes <antonio.luis@xxxxxxxx>
- Date: Thu, 29 Jan 2004 16:51:17 -0000
- Delivered-to: firstname.lastname@example.org
That's it! Both public or protected and it works!
----- Original Message -----
From: "Wes Isberg" <wes@xxxxxxxxxxxxxx>
Sent: Thursday, January 29, 2004 4:33 PM
Subject: Re: [aspectj-users] Abstract and Concrete Aspects
> Perhaps: if the abstract pointcut is not at least protected,
> the subaspect won't be able to access it.
> António Lopes wrote:
> > Hello everyone!
> > I would like to know if anyone can help me with this problem I have
> > regarding AspectJava:
> > I have an abstract aspect A with an abstract pointcut P, in one file.
> > Then I have a class C with a static aspect B that extends A and has a
> > concrete pointcut P, in another file.
> > This "configuration" works if I put these 2 files together in the same
> > directory.
> > But, when I try to put them in separate directories, for example in
> > packages:
> > - abstract stuff goes to package "aspects"
> > - class and concrete stuff goes to package "classes"
> > Then I get the following error on both files:
> > "Error inherited abstract pointcut aspects.A.P() is not made concrete in
> > classes.C$B"
> > Any solutions? BTW, I'm using eclipse.
> > Thanks in advance,
> > --
> > António Lopes
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/aspectj-users
> aspectj-users mailing list