[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: aop-mc-int tests with maven

kabir.khan@jboss.com do-not-reply at jboss.com
Tue Apr 24 08:24:09 EDT 2007


A lot ot the weave tests fail in that the classes are not being woven.  This


  |                 <property>
  |                   <name>java.system.class.loader</name>
  |                   <value>org.jboss.aop.standalone.SystemClassLoader</value>
  |                 </property>
  | 
should be telling the test to use the SystemClassLoader which does the weaving. Setting forkmode=always for each test execution configuration does not help, and it appears that weaving is not being done. As a sanity check, I ran some of the failing tests from eclipse with -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader and they work as expected

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040171#4040171

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040171



More information about the jboss-dev-forums mailing list