4 Replies Latest reply on May 7, 2003 10:22 AM by marquesn

    Build java-all module from a CVS checkout

    marquesn

      Hi,

      I'm trying to build the latest version of JBoss (module jboss-all) from a CVS checkout. However, it seems not working the way it should, since every time it finishes with a BUILD FAILED message.

      I follow those steps sequentialy in a RedHat Linux 9.0 box whith J2SE 1.4.1_02 SDK:

      1. cvs -z3 -d:pserver:anonymous@cvs.jboss.sourceforge.net:/cvsroot/jboss co jboss-all

      2. export JAVA_HOME=/usr/java/j2sdk1.4.1_02/

      3. cd jboss-all/build

      4. ./build.sh

      After several lines of output, it finishes with the following message:

      BUILD FAILED
      file:/usr/local/src/jboss-all/server/build.xml:405: JJTree failed.

      Total time: 2 minutes 19 seconds

      I think my own recipe lack some important step but I cannot figure it out. I hope you can help me in this tricky issue.

      Thanks in advance,

      Nelson Marques

        • 1. Re: Build java-all module from a CVS checkout

          If you want the latest version, use
          jboss-head not jboss-all

          If you want jboss-all (jboss-3.0)
          use
          co -r Branch_3_0 jboss-3.0

          Where did you get the old config from?
          It needs updating.

          Regards,
          Adrian

          • 2. Re: Build java-all module from a CVS checkout
            marquesn

            I followed your instructions but the problem remains. Now I've done the following steps:

            1. cvs -z3 -d:pserver:anonymous@cvs.jboss.sourceforge.net:/cvsroot/jboss co jboss-head

            2. export JAVA_HOME=/usr/java/j2sdk1.4.1_02/

            3. cd jboss-all/build

            4. ./build.sh

            After several lines of output, it finishes with the following message:

            BUILD FAILED
            file:/usr/local/src/jboss-head/server/build.xml:169: JJTree failed.

            Total time: 3 minutes 44 seconds

            I think this recipe still lacks some important steps but I cannot figure it out. I hope someone can help me in this annoying tricky issue.

            Thanks in advance,

            Nelson Marques

            • 3. Re: Build java-all module from a CVS checkout

              Do you have some stray jars in jre/lib/ext?

              This is the parser generator for EJBQL/JBossQL.

              Do you get the same problem if you
              cd messaging
              ./build.sh
              which also runs the same generator.

              Regards,
              Adrian

              • 4. Re: Build java-all module from a CVS checkout
                marquesn

                I just have the standard installation of j2sdk1.4.1_02 from Sun, and the result of the JBoss checkout. No stray jars, I suppose.

                Maybe, I'm not making my point clear. I'm not trying to develop JBoss right now. I'm just trying to create a JBoss infrastructure from the sources, since I already have it working with binary distribution.

                So, I'm in the first step which is to build JBoss (the most of it and the latest version possible to be built) from CVS repository. If you can just make me know what are the minimum steps required to make it happen, I will appreciate it very much.

                Thanks a lot,
                Nelson