AOP xml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | <aop> | <bind pointcut="execution(public void HelloAOP->callMe())"> | <interceptor class="HelloAOPInterceptor"/> | </bind> | </aop>
Ant: <project default="weave"> | <target name="weave"> | <property name="jboss.dir" value="D:/jboss-aop_1.0.0-FINAL"/> | <property name="libs.dir" value="${jboss.dir}/lib"/> | | <path id="jboss.path"> | <pathelement location="."/> | <pathelement location="${libs.dir}/concurrent.jar"/> | <pathelement location="${libs.dir}/javassist.jar"/> | <pathelement location="${libs.dir}/jboss-aop.jar"/> | <pathelement location="${libs.dir}/jboss-aspect-library.jar"/> | <pathelement location="${libs.dir}/jboss-common.jar"/> | <pathelement location="${libs.dir}/qdox.jar"/> | <pathelement location="${libs.dir}/trove.jar"/> | </path> | | <java classname="teste.HelloAOP" classpathref="jboss.path"> | <arg line="-Djboss.aop.path=teste.xml"/> | <arg line="-Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader"/> | </java> | </target> | </project> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852490#3852490 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852490 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development