Thanks for the help Andrew. I appreciate.
On Tue, Nov 18, 2008 at 8:12 PM, Andrew Eisenberg <[EMAIL PROTECTED]>wrote: > This is already logged as a bug: > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=131728 > > > > On Tue, Nov 18, 2008 at 9:51 AM, epro etc <[EMAIL PROTECTED]> wrote: > > Hi Andrew, > > > > Thanks for the reply. > > Regarding your questions, If MyConcreteAspect is defined outside of the > > aop.xml file > > than it works fine like all the other aspects. The problem occurs only > when > > the aspect > > is defined inline in the aop.xml file. > > > > I apologize for my mistakes in the sample code. I have mistype in the > > previous email > > I have send, that is not the problem.(MyConreteAspect is actually > > MyConcreteAspect.) > > > > Regards > > > > > > On Tue, Nov 18, 2008 at 5:29 PM, Andrew Eisenberg <[EMAIL PROTECTED]> > > wrote: > >> > >> Are you saying that MyConreteAspect is the only aspect defined inline > >> in the aop.xml and it is the only one not working? What happens if > >> you pull it out and define it in its own file? Does it work then? > >> > >> Note also that you have MyConreteAspect, not MyConcreteAspect. > >> Doubtful, but that could be the problem, too. > >> > >> On Tue, Nov 18, 2008 at 8:09 AM, epro etc <[EMAIL PROTECTED]> wrote: > >> > Hi all, > >> > > >> > I have managed to successfully configure LTW using java 1.4. > >> > Now I am facing a problem when trying to define a concrete aspect > >> > using in external aop.xml file. > >> > > >> > My abstract aspect is packed in a separate jar file(this jar already > >> > contains > >> > several more aspects that are working OK). > >> > When deployed on app server I am getting: > >> > java.lang.ClassNotFoundException: com.foo.aspect.MyConreteAspect not > >> > found - > >> > unable to determine URL > >> > Please note that all of my other aspects are working correctly. > >> > > >> > sample code: > >> > 1. This is my abstract aspect: > >> > > >> > public abstract aspect MyAbstractAspect > >> > { > >> > public abstract pointcut testConcrete(); > >> > > >> > before() : testConcrete(){ > >> > System.err.println("Adviced ...."); > >> > } > >> > } > >> > > >> > 2. This is my external aop.xml file > >> > <aspectj> > >> > <weaver options="-verbose -showWeaveInfo" ></weaver> > >> > <aspects> > >> > <aspect name="test.aspect.Aspect_1"> > >> > . . . . . . . . . . > >> > <aspect name="test.aspect.Aspect_N"> > >> > > >> > <concrete-aspect name="test.aspect.MyConreteAspect" > >> > extends="test.aspect.MyAbstractAspect"> > >> > <pointcut name="testConcrete" expression="execution(* > >> > Test.testMethod(..))"/> > >> > </concrete-aspect> > >> > > >> > </aspects> > >> > </aspectj> > >> > > >> > > >> > Any help is appreciated. > >> > Thanks in advance > >> > > >> > _______________________________________________ > >> > aspectj-users mailing list > >> > [email protected] > >> > https://dev.eclipse.org/mailman/listinfo/aspectj-users > >> > > >> > > >> _______________________________________________ > >> aspectj-users mailing list > >> [email protected] > >> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > > >
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
