You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/06/06 21:05:26 UTC

[jira] Updated: (AXIS2-2716) Syntax errors in script axis2.sh in axis2-1.2

     [ 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