6 Replies Latest reply on Jan 21, 2009 6:32 AM by tommy111

    error in trailblazer

      hi

      when i run example \trailblazer project founded this error
      anybode know why?
      thanks


      trailblazer.prepare:
      [mkdir] Created dir: I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\build
      [mkdir] Created dir: I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\build\dist
      [mkdir] Created dir: I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\build\classes
      [mkdir] Created dir: I:\jbossesb-server-4.4.GA\samples\trailblazer\client\build
      [mkdir] Created dir: I:\jbossesb-server-4.4.GA\samples\trailblazer\client\build\dist
      [mkdir] Created dir: I:\jbossesb-server-4.4.GA\samples\trailblazer\client\build\classes

      esb.compile:
      [javac] Compiling 6 source files to I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\build\clas
      ses
      [javac] I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\src\org\jboss\soa\esb\samples\trailbla
      zer\util\ProcessEmail.java:28: package org.antlr.stringtemplate does not exist
      [javac] import org.antlr.stringtemplate.StringTemplate;
      [javac] ^
      [javac] I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\src\org\jboss\soa\esb\samples\trailbla
      zer\util\ProcessEmail.java:29: package org.antlr.stringtemplate does not exist
      [javac] import org.antlr.stringtemplate.StringTemplateGroup;
      [javac] ^
      [javac] I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\src\org\jboss\soa\esb\samples\trailbla
      zer\util\ProcessEmail.java:79: cannot find symbol
      [javac] symbol : class StringTemplateGroup
      [javac] location: class org.jboss.soa.esb.samples.trailblazer.util.ProcessEmail
      [javac] StringTemplateGroup group = new StringTemplateGroup("loan");
      [javac] ^
      [javac] I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\src\org\jboss\soa\esb\samples\trailbla
      zer\util\ProcessEmail.java:79: cannot find symbol
      [javac] symbol : class StringTemplateGroup
      [javac] location: class org.jboss.soa.esb.samples.trailblazer.util.ProcessEmail
      [javac] StringTemplateGroup group = new StringTemplateGroup("loan");
      [javac] ^
      [javac] I:\jbossesb-server-4.4.GA\samples\trailblazer\esb\src\org\jboss\soa\esb\samples\trailbla
      zer\util\ProcessEmail.java:80: cannot find symbol
      [javac] symbol : class StringTemplate
      [javac] location: class org.jboss.soa.esb.samples.trailblazer.util.ProcessEmail
      [javac] StringTemplate email = group.getInstanceOf(templatePath + "/" + templateFile
      );
      [javac] ^
      [javac] 5 errors

      BUILD FAILED
      I:\jbossesb-server-4.4.GA\samples\trailblazer\build.xml:172: Compile failed; see the compiler error
      output for details.

        • 1. Re: error in trailblazer
          beve

          Hi,

          I've tried this but cannot reproduce the error you are seeing.
          Can you try running 'ant -v deploy' and check that the '-classpath' section for the esb.compile target contains the jar stringtemplate-2.2.jar.
          Also can you just double check that I:\jbossesb-server-4.4.GA\samples\trailblazer\client\lib\ext\stringtemplate-2-2.jar exists.

          regards,

          /Daniel

          • 2. Re: error in trailblazer

            hi daniel

            oh ,

            i dont have?
            where is this stringtemplate-2-2.jar ?

            thanks

            • 3. Re: error in trailblazer
              beve

              Hmm, that is strange as it should be there by default.
              Where did you download the jbossesb-server from?

              regards,

              /Daniel

              • 4. Re: error in trailblazer


                www.jboss.org/download

                • 5. Re: error in trailblazer
                  beve

                  Just downloded from there and you are right, that directory is missing. Odd because I have a jbossesb-server4.4.GA that does contain it.
                  If you like you can copy server/default/deploy/smooks.esb/stringtemplate-2.2.jar to the client/lib/ext directory and this should work for you.

                  Just for your information the trailblazer has now been removed from the project. Later versions will just have the quickstarts.

                  regards,

                  /Daniel

                  • 6. Re: error in trailblazer


                    thanl's so much