[ https://issues.apache.org/jira/browse/AXIS2-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-2716: ---------------------------------------- Assignee: Lahiru Sandakith (was: Deepal Jayasinghe) Hi Sandakith Can you please have a look at this > Syntax errors in script axis2.sh in axis2-1.2 > --------------------------------------------- > > Key: AXIS2-2716 > URL: https://issues.apache.org/jira/browse/AXIS2-2716 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Affects Versions: 1.2 > Environment: Linux. > Reporter: Prasan Chowdiah > Assignee: Lahiru Sandakith > Priority: Blocker > Fix For: 1.3 > > > Invoking the wsdl2java.sh script using ksh on linux produces the following > error: > # ksh ./wsdl2java.sh -uri ../samples/quickstart/build/StockQuoteService.wsdl > Using AXIS2_HOME: /P/axis/axis2-1.2 > Using JAVA_HOME: /usr/local/j2sdk/sun/1.5.0 > ./axis2.sh: line 38: [: !=: unary operator expected > Unrecognized option: -uri > Could not create the Java virtual machine. > if [ $arg != -classpath ] && [ $arg != -cp ] && [ $prearg != -classpath ] > && [ $prearg != -cp ] > Making the following changes to axis2.sh resolves the issue: > From > if [ $arg != -classpath ] && [ $arg != -cp ] && [ $prearg != -classpath ] > && [ $prearg != -cp ] > To > if [ "$arg" != -classpath ] && [ "$arg" != -cp ] && [ "$prearg" != > -classpath ] && [ "$prearg" != -cp ] > From > if [ $prearg=-classpath ] || [ $prearg=-cp ] > To > if [ "$prearg" = -classpath ] || [ "$prearg" = -cp ] > Thanks. > Prasan Chowdiah -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]