3 Replies Latest reply on Jun 13, 2012 5:52 AM by tomjenkinson

    JBossJTS build fails

    ksreen

      Hi,

       

               I downloaded the source of the latest Jbosstm. When I try to build using  "ant -Dpublican=false -DskipTests=true jbossjts" , I get the following error.

       

      C:\Arjuna\JBOSSTS_4_16_4_Final\ArjunaJTS\orbportability\build.xml:69: Failed to compile 'C:\Arjuna\JBOSSTS_4_16_4_Final\ArjunaJTS\orbportability/tests/idl/orbtests.idl' file.

       

      Is there a way to figure out what error the IDL compiler is throwing?  I am compiling on Windows.

       

      Regards

      Kamala

        • 1. Re: JBossJTS build fails
          jhalliday

          >   I am compiling on Windows.

           

          idl-compiler.out and idl-compiler.err files in the dir from which you ran the build.

          • 2. Re: JBossJTS build fails
            ksreen

            The error file says "Error: Could not find or load main class org.jacorb.idl.parser". I tried adding the idl.jar file in the build path but it still fails with the same error.

            • 3. Re: JBossJTS build fails
              tomjenkinson

              Maybe it is some path issue on windows as idl.jar does contain the required class.

               

              I do know that the next revision of  JBoss Transactions (known as Narayana https://github.com/jbosstm/narayana) does build OK on Windows., possibly because we replaced the Ant build system with Maven. We are set to release 5.0.0.M2 next week, I would encourage you to hold off till then and try the 5.0.0.M2 version (note: the tests don't run on Windows due to some *nix specific result checking).