4 Replies Latest reply on Jul 27, 2005 11:16 AM by ejain

    Problem with aopc task

    ejain

      I have this in my build file:

      <aopc compilerclasspathref="classpath" verbose="true">
       <classpath path="build"/>
       <src path="build"/>
       <include name="**/*.class"/>
       <aoppath path="jboss-aop.xml"/>
      </aopc>


      "classpath" contains all jars.

      I get:

      [aopc] [debug] jboss.aop.class.path is NULL
      [aopc] [debug] jboss.aop.search.classpath: 'null' true
      [aopc] [debug] jboss.aop.path: jboss-aop.xml
      [aopc] jboss.aop.path[0]: jboss-aop.xml
      [aopc] [deploying] jboss-aop.xml
      [aopc] [warning] Trying to compile [...]\build\test\ObjectHolder.class and found it also within [...]\build/test/ObjectHolder.class will not proceed.
      [aopc] [warning] Trying to compile [...]\build\test\ObjectInterceptor.class and found it also within [...]/build/test/ObjectInterceptor.class will not proceed.
      [aopc] Build Successful: 219 ms


      Any idea what is going wrong here? I can post my classes and aspect configuration etc, but I suspect there is a more fundamental issue here...