Hi ben, the problem was resolved.
I just added a path to build.classpath, show below

  | <path id="build.classpath">
  |             <pathelement location="${basedir}"/>
  |             <fileset dir="${jboss.home}/lib">
  |                     <include name="**/*.jar"/>
  |             </fileset>
  |             <fileset dir="${jboss.home}/server/${jboss.server.config}/lib">
  |                     <include name="**/*.jar"/>
  |             </fileset>
  |             <fileset 
dir="${jboss.home}/server/${jboss.server.config}/deploy/ejb3.deployer">
  |                     <include name="*.jar"/>
  |             </fileset>
  |             <fileset 
dir="${jboss.home}/server/${jboss.server.config}/deploy/jboss-aop-jdk50.deployer">
  |                     <include name="*.jar"/>
  |             </fileset>
  |             <fileset dir="${lib.dir}">
  |                     <include name="**/*.jar"/>
  |             </fileset>
  |             <fileset dir="${deploy.dir}/tc5-cluster.sar">
  |               <include name="tc5-cluster.aop" />
  |             </fileset>
  |             <!--fileset dir="${cache.lib.50.dir}">
  |                     <include name="**/*.jar"/>
  |             </fileset-->
  |             <pathelement location="${classes.dao.dir}"/>
  |             <pathelement location="${classes.web.dir}"/>
  |             <pathelement location="${classes.test.dir}"/>
  |             <pathelement location="${conf.hivemind.dir}"/>
  |     </path> 
  | 
  | 
  | <!-- pre-compile directory with aopc -->
  |    <target name="aopc" depends="compile" description="Precompile aop test 
classes">
  |       <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" 
classpathref="build.classpath"/>
  |       <aopc compilerclasspathref="build.classpath" verbose="true">
  |          <src path="${classes.dao.dir}"/>
  |          <aoppath path="${cache.resources.dir}/jboss-aop.xml"/>
  |          <classpath refid="build.classpath"/>
  |       </aopc>
  |    </target>
  | 
  | 

Now, it's ok. 
Is that snippet of path must been contained in the classpath?

Thanks a lot for your help! 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000220
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to