Deploying Trailblazer
ilasa01 Sep 21, 2008 5:50 AMHello,
I am trying to deploy Trailblazer but I get the following error during "ant deploy":
==========================================
[root@jupiter trailblazer]# ant deploy
Buildfile: build.xml
messaging-config:
messaging-dependencies:
jbossmq-dependencies:
esb.built:
clean:
[delete] Deleting directory /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build
[delete] Deleting directory /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build
trailblazer.prepare:
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build/dist
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build/classes
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build/dist
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build/classes
esb.compile:
[javac] Compiling 6 source files to /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build/classes
BUILD FAILED
/usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/build.xml:172: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/lib/ext not found.
Total time: 0 seconds
=========================================
The error seems correct as there is no /lib/ext in the client folder.
The /lib/ext actually is in the trailblazer "banks" folder and not in the "client". However, once I copied the "/lib/ext" from the folder "banks" to the folder "client", the deploy then gets the following error:
=========================================
Buildfile: build.xml
messaging-config:
messaging-dependencies:
jbossmq-dependencies:
esb.built:
clean:
[delete] Deleting directory /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build
[delete] Deleting directory /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build
trailblazer.prepare:
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build/dist
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build/classes
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build/dist
[mkdir] Created dir: /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/client/build/classes
esb.compile:
[javac] Compiling 6 source files to /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/build/classes
[javac] /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/util/ProcessEmail.java:28: package org.antlr.stringtemplate does not exist
[javac] import org.antlr.stringtemplate.StringTemplate;
[javac] ^
[javac] /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/util/ProcessEmail.java:29: package org.antlr.stringtemplate does not exist
[javac] import org.antlr.stringtemplate.StringTemplateGroup;
[javac] ^
[javac] /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/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] /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/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] /usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/esb/src/org/jboss/soa/esb/samples/trailblazer/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
/usr/local/soa/jbossesb-4.4.GA/samples/trailblazer/build.xml:172: Compile failed; see the compiler error output for details.
==============================================
Any idea what the problem might be? I see that it refers to "import org.antlr.stringtemplate.StringTemplate" but why it doesn't find it?
Thanks.
Regards.
Salvo