Re: [aspectwerkz-user] Re: How to point to WEB-INF/aop.xml with offline weaving?
Alexandru Popescu <[email protected]>
| Newsgroups | gmane.comp.java.aspectwerkz.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [quote Jing Xue::on 4/24/2005 8:15 PM] > 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 >> > > 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 - --:alex |.::the_mindstorm::.| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCa/KHOCPjdDT2FEURAlrPAJ9/77eLeX8Aak7Mo11/rZ8qmFw5vACgrVzy 8+Z7pPYEwQMoH2ZRmM55xQA= =0kKH -----END PGP SIGNATURE-----