2 Replies Latest reply on Mar 13, 2003 1:35 PM by qquatro

    Build failure

    avigne

      I downloaded JBoss using my cvs client (under RedHat 8.0) :
      export -p CVSROOT=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jboss
      cvs -z3 checkout jboss-all

      When I try to build JBoss :
      cd jboss-all
      ./build/build.sh

      I have the following failure :

      ....
      ==============================================================
      ==
      == Executing 'most' in module 'common'...
      ==
      ==

      configure-modules:
      Overriding previous definition of reference to jboss.naming.classpath

      BUILD FAILED
      file:/usr/sw/JBoss/jboss-all/common/build.xml:118: Could not create task or type of type: jmxdoclet.

      Ant could not find the task or a class this task relies upon.
      ...

        • 1. Re: Build failure
          tilak_kasturi

          This is because the jar file (where JMXDoclet is defined) is not found. You will see this if you use "build/build.sh -verbose"

          To fix the problem, You can change the build/local.properties file as follows:

          xdoclet.xdoclet.root=${project.root}/thirdparty/xdoclet/xdoclet

          You might have change the root dir similarly for other root definitions ( jdom.root=${project.thirdparty}/jdom/beta-7, etc)
          in tools/etc/buildfragments/libraries.ent

          Tilak

          • 2. Re: Build failure
            qquatro

            Right, it looks like my CVS checkout failed in the middle of getting the thirdparty libraries - hence the missing files.

            Sorry for the bother...