7 Replies Latest reply on Feb 24, 2003 9:16 AM by user57

    CVS-HEAD of jboss-buildmagic does not compile

    mcbain4711

      .../buildmagic/common/build.xml:11
      8: Could not create task or type of type: jmxdoclet.

        • 1. Re: CVS-HEAD of jboss-buildmagic does not compile
          elojboss

          Encountering the same problem. The first thing that I noticed is that the generated local.properties file (build.sh init) creates an invalid path for the XDoclet root.

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

          I changed the '-' to a '/' and the JMXDoclet error went away, but then a new error, related to Apache Commons (Logger) appears. I did poke around in libraries.ent from the build scripts, but with no success.

          I recall seeing a similar thread elsewhere. If I can find it and there is a response, I will forward it to here.

          • 2. Re: CVS-HEAD of jboss-buildmagic does not compile
            elojboss

            Follow up to my previous post:

            I had this problem as well. The source of the problem for me was that I checked out the JBoss source under the jboss-all module.

            If you did that, try checking out the source under the jboss-head module. I successfully compiled under that module.

            • 3. Re: CVS-HEAD of jboss-buildmagic does not compile
              nusa

              Hi,

              Maybe you can help me out.
              I wanted to checkout jboss-head by running the following command under Win2K :
              I:\Download\JBoss>cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jboss co jboss-head

              But I was unable to run the build command as the error shown below :
              I:\Download\JBoss\jboss-head\build>build
              Calling ..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger
              Buildfile: build.xml

              _buildmagic:init:
              Trying to override old definition of task property

              _buildmagic:init:local-properties:
              [copy] Copying 1 file to I:\Download\JBoss\jboss-head\build

              BUILD FAILED
              file:I:/Download/JBoss/jboss-head/build/../tools/etc/buildfragments/tools.ent:35
              : taskdef class xdoclet.modules.jmx.JMXDocletTask cannot be found

              Total time: 4 seconds
              Press any key to continue . . .

              What did I miss ?

              Thanks for your help.

              • 4. Re: CVS-HEAD of jboss-buildmagic does not compile
                jcooley1

                Try checking out with jboss-head instead of jboss-all i.e.

                cvs -z3 checkout jboss-head

                See http://www.jboss.org/developers/guides/quickstart.jsp

                • 5. Re: CVS-HEAD of jboss-buildmagic does not compile
                  nusa

                  Hi,

                  What's the difference between running this :
                  I:\Download\JBoss>cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/jboss co jboss-head
                  and this :
                  cvs -z3 checkout jboss-head

                  • 6. Re: CVS-HEAD of jboss-buildmagic does not compile
                    jcooley1

                    Looks exactly the same AFAIK but I'm just showed you what worked for me. I had being doing a -r HEAD with jboss-all and that produced the same problem you have.

                    BTW, did you do a "build init" after you checked it out?

                    James

                    • 7. Re: CVS-HEAD of jboss-buildmagic does not compile
                      user57

                      FYI, I have not been maintaining jboss-buildmagic HEAD for some time. I had stopped after I started looking into using XSLT to reduce complexity in the system w/o loosing flexibility.

                      Anyways, just wanted to warn you that I am not really sure what is in HEAD at the moment... :|

                      --jason