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:

>What i don't get is where are your classes deploeyed if you don't have a WEB-INF/classes. I advise
>you to place the aop.xml file under a META-INF dir as explained in a previous mail, as
>WEB-INF/aop.xml is only working with Tomcat (afaik).
>  
>

All of my classes are in a jar file in WEB-INF/lib, as well as other 
resource files.  So I don't need WEB-INF/classes.  I thought that was a 
typical setup?

I have moved the aop.xml to under WEB-INF/classes/META-INF.  It works 
perfectly now.  Thanks for all the help (to Bruno Borges, too).  I'm 
just still a bit worried about whether a 
WEB-INF/classes/META-INF/aop.xml has exactly the same semantics as a 
WEB-INF/aop.xml.  Also, may I suggest to add to the document that 
WEB-INF/aop.xml only works with tomcat?

Thanks.
--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.