-
1. Re: Example metadata doesn't work
bill.burke Mar 27, 2004 9:54 AM (in response to kado0002)Sorry for the late response, but I have been at the AOSD conference without access to internet.
Can you post the verbose output of the compiler and all the commands you run and your classpath?
One thing about -aoppath is that there can be only one switch on command line and it must be delimited in the same way as classpath is (OS dependent ':' or ';').
Bill
P.S. Did you try the ant task? That works for me. -
2. Re: Example metadata doesn't work
kado0002 Mar 30, 2004 9:04 AM (in response to kado0002)The Problem was the system property
I thought that when I am put both xml -files into Meta-inf it works, that was the problem.
With the command
java -Djboss.aop.aoppath=metadata.xml;jboss-aop.xml
it works on commandline -
3. Re: Example metadata doesn't work
kado0002 Mar 30, 2004 9:05 AM (in response to kado0002)The Problem was the system property!
I thought that when I am put both xml -files into Meta-inf it works, that was the problem.
With the command
java -Djboss.aop.aoppath=metadata.xml;jboss-aop.xml
it works on commandline -
4. Re: Example metadata doesn't work
bill.burke Mar 30, 2004 9:12 AM (in response to kado0002)yes, putting stuff in META-INF only recognizes jboss-aop.xml. The way the AOP framework finds non-system-property-wise is
ClassLoader.getResource("META-INF/jboss-aop.xml") this method does not take wildcards.
Bill