[jboss-user] [JBoss AOP] - Re: aopc and headaches

apinto do-not-reply at jboss.com
Thu Mar 20 07:44:57 EDT 2008


Hi Kabir, thank you for the reply. Unfortunately, it's still a no... :-(. My current configuration is:


  | <path id="jboss.aop.classpath">
  | 	<fileset dir="../common/lib/aop">
  | 		<include name="javassist.jar"/>
  | 		<include name="trove.jar"/>
  | 		<include name="concurrent.jar"/>
  | 		<include name="jboss-common.jar"/>
  | 		<include name="jboss-aop-jdk50.jar"/>
  | 	</fileset>
  | </path>
  | 
  | <path id="project.classpath.aop">
  | 	<path refid="project.classpath"/>
  | 	<path refid="jboss.aop.classpath"/>
  | 	<fileset dir="${dir.bin.pub}"/>
  | 	<fileset dir="${dir.bin.priv}"/>
  | </path>
  | 
  | <path id="the.classpath">
  | 	<path refid="project.classpath"/>
  | 	<fileset dir="${dir.bin.pub}"/>
  | 	<fileset dir="${dir.bin.priv}"/>
  | </path>
  | 
  | <taskdef name="aopc" classname="org.jboss.aop.ant.AopC"
  | 	classpathref="jboss.aop.classpath"/>
  | <aopc compilerclasspathref="project.classpath.aop"
  | 	classpathref="the.classpath" maxsrc="10000" verbose="true">
  | 	<src path="${dir.bin.priv}"/>
  | 	<include name="**/*.class"/>
  | 	<aoppath path="etc/aop/META-INF/jboss-aop.xml"/>
  | 	<aoppath path="../addons/manager/etc/aop/META-INF/jboss-aop.xml"/>
  | </aopc>
  | 

In each class it tries to instrument, it says:


  |      [aopc] [warning] Unable to find XXX.class within classpath.  Make sure all transforming classes are within classpath.
  | 

This is driving me nuts! I tried so many classpath configurations that I don't even remember the meaning of each parameter! :-D

Thanks a lot in advance!

AP

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

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



More information about the jboss-user mailing list