try replacing the sh in the wsdl2java.sh file with a . or use this command sh axis2.sh org.apache.axis2.wsdl.WSDL2Java <your arguments>
On 5/28/07, neiroman neiroman <[EMAIL PROTECTED]> wrote:
My current shell is bash. As I see wsdl2java is written for sh and it always executes by sh interpretator. What will the difference, if I change my shell to zsh for example ? For trying another shell I must set up all JAVA enviroment variables 2007/5/28, Davanum Srinivas <[EMAIL PROTECTED]>: > > which shell are you using? can try please try any other alternate > shell(s)? > > thanks, > dims > > On 5/27/07, Genious Soul <[EMAIL PROTECTED]> wrote: > > > > > > > > > > ----- Original Message ---- > > From: neiroman neiroman <[EMAIL PROTECTED]> > > To: [email protected] > > Sent: Saturday, May 26, 2007 7:58:38 PM > > Subject: Problem with wsdl2java > > > > Hello, I use Axis2 1.2 > > When I try to run wsdl2java I've got the follovving error > > > > [EMAIL PROTECTED] :/usr/lib/axis2> wsdl2java.sh -uri tmp.wsdl -ss -sd > > Using AXIS2_HOME: /usr/lib/axis2 > > Using JAVA_HOME: /usr/java/jdk1.6.0 > > /usr/lib/axis2/bin/axis2.sh: line 38: [: !=: unary operator expected > > Unrecognized option: -uri > > > > ________________________________ > > Don't be flakey. Get Yahoo! Mail for Mobile and > > always stay connected to friends. > > > -- > Davanum Srinivas :: http://davanum.wordpress.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Amila Suriarachchi, WSO2 Inc.
