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

Jing Xue <[email protected]>
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
Alexandru Popescu wrote:

>Quoting from memory (but i think this is in our documentation too):
>- - META-INF/aop.xml works everywhere, and as a consequence
>- - WEB-INF/classes/META-INF/aop.xml
>- - WEB-INF/lib/myJar.jar/META-INF/aop.xml
>  
>
Well but all the documentation and tutorials I have read all talk about 
META-INF/aop.xml and WEB-INF/aop.xml.  Are they all only applicable to 
online weaving?

Anyway, my experiment got more interesting than I thought.  It appears 
that, even if I use WEB-INF/aop.xml, as long as I have a WEB-INF/classes 
directory, even empty, everything works fine.  As soon as I remove 
WEB-INF/classes, none of the weaving would have any effect.

--Jing Xue
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.