2 Replies Latest reply on Jul 16, 2004 1:48 PM by cchris

    Building tyrex-tm-plugin.jar from varia\build.xml

    anny_lut

      I try to build tyrex-tm-plugin.jar from varia\build.xml
      (from jboss-3.2.5-src, using ANT 1.6.1, using java version "1.3.1")

      but I get next errors:

       .......
       [javac] D:\temp\JTA\jboss-3.2.5-src\varia\src\main\org\jboss\ant\JMX.java:20: cannot resolve symbol
       [javac] symbol : class Attribute
       [javac] location: package management
       [javac] import javax.management.Attribute;
       [javac] ^
       [javac] D:\temp\JTA\jboss-3.2.5-src\varia\src\main\org\jboss\ant\JMX.java:21: cannot resolve symbol
       [javac] symbol : class ObjectName
       [javac] location: package management
       [javac] import javax.management.ObjectName;
      
       (and more .....)
      


      and as the result :
      BUILD FAILED

      \jboss-3.2.5-src\varia\build.xml:243: Compile failed; see the compiler error output for details.


      Can anybody suggest?

        • 1. Re: Building tyrex-tm-plugin.jar from varia\build.xml
          cchris

          It seems all the required jar files are not correctly set in your classpath.
          Check $JBOSS_HOME/client/jbossall-client.jar is in your classpath
          (this library contains javax.management.Attribute and javax.management.ObjectName)
          and so on for other missing jars.

          Hope this helped

          Chris

          • 2. Re: Building tyrex-tm-plugin.jar from varia\build.xml
            cchris

            I've dowloaded today release 3.2.6RC1 from the CVS repository.
            From $MY_WORKSPACE/jboss-3.2/build/ I performed 'ant release-all' which builds a distribution for each archive type. It compiles OK including varia.
            Just to check again, from $MY_WORKSPACE/jboss-3.2/varia I perfomed 'ant compile' and it built OK.
            I used java 1.4 and ant 1.6.
            I didn't build former 3.2.5 version but I think probably you had target depend problem.

            Chris