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 "Eran Chinthaka (JIRA)" <ji...@apache.org> on 2007/06/13 22:59:25 UTC
[jira] Resolved: (AXIS2-2742) axis.sh is missing quotes on
variables? causes ./axis2.sh: line 38: [: !=: unary operator expected
[ https://issues.apache.org/jira/browse/AXIS2-2742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eran Chinthaka resolved AXIS2-2742.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.3
Fixed in latest svn. r547029.
> axis.sh is missing quotes on variables? causes ./axis2.sh: line 38: [: !=: unary operator expected
> --------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2742
> URL: https://issues.apache.org/jira/browse/AXIS2-2742
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: linux
> Reporter: Ted Leung
> Assignee: Eran Chinthaka
> Priority: Blocker
> Fix For: 1.3
>
>
> When I run the .sh files in axis2, 1.2 I get a bash error as follows
> [1248:tleung@localhost:/data/svn/soap_client/axis2-1.2/bin]./wsdl2java.sh
> Using AXIS2_HOME: /data/svn/soap_client/axis2-1.2
> Using JAVA_HOME: /data/apps/jdk1.6.0
> ./axis2.sh: line 38: [: !=: unary operator expected
> are the variables in the axis.sh file suppose to be in quotes? it seems to make the error go away, i.e.
> line 38 : if [ "$arg" != -classpath ] && [ "$arg" != -cp ] && [ "$prearg" != -classpath ] && [ "$prearg" != -cp ]
> and
> line 43 : if [ "$prearg" = -classpath ] || [ "$prearg" = -cp ]
--
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