axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2716) Syntax errors in script axis2.sh in axis2-1.2
Date Wed, 06 Jun 2007 19:05:26 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Davanum Srinivas updated AXIS2-2716:
------------------------------------

    Assignee: Deepal Jayasinghe

> 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: Deepal Jayasinghe
>             Fix For: 1.2
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message