Thanks.
I edited my build.xml 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="${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>
|
It use the same jar, also should be in sync. But the problem remains. :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999774#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...