Re: [aspectwerkz-user] Re: How to point to WEB-INF/aop.xml with offline weaving?

Bruno Borges <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Shouldn't you put aop.xml inside WEB-INF\classes ? There, it will be
available for ClassLoader.

[]'s
Bruno

On 4/24/05, Jing Xue <[email protected]> wrote:
> BTW, -Daspectwerkz.definition.file=<path-to-web-app>\WEB-INF\aop.xml on
> tomcat command line works.  But it's obviously not an optimal solution.
> Thanks.
> --Jing Xue
> 
> Jing Xue wrote:
> 
> > Hi,
> >
> > I'm trying to use offline weaving in a web application.  I have
> > aop.xml in WEB-INF.  Weaving is successful, but the around advice is
> > not called at run-time. In fact, I specified a custom aspect container
> > for the aspect, which is not instantiated at all.
> >
> > I'm using Aspectwerkz 2.0 and tomcat 5.5.7.
> >
> > Thanks for any hint.
> > --Jing Xue
> >
> 
> 


-- 
Bruno Borges - SCJP 1.4
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.