[ http://issues.apache.org/jira/browse/AXIS2-1842?page=all ]

Paladin R. Liu updated AXIS2-1842:
----------------------------------

    Attachment: setenv.sh.diff.gz

diff file for patch.

> "setenv.sh" can't work well in Cygwin environment
> -------------------------------------------------
>
>                 Key: AXIS2-1842
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1842
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.1
>         Environment: MS Windows 2000 Professional with Cygwin_NT-5.0, J2SDK 
> 1.5.0_09
>            Reporter: Paladin R. Liu
>         Attachments: setenv.sh.diff.gz
>
>
> When execute "java2wsdl.sh" and "wsdl2java.sh" script, a 
> "NoClassDefFoundError" error occurs because of a wrong "AXIS2_CLASSPATH" 
> configuration.
> To fix this error, I modify the script "setenv.sh" with following:
> ---- DIFF START --
> --- setenv.sh.old       2006-11-13 19:33:18.000000000 +0800
> +++ setenv.sh   2006-12-07 10:46:16.000000000 +0800
> @@ -92,6 +92,7 @@
>    JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
>    AXIS2_HOME=`cygpath --absolute --windows "$AXIS2_HOME"`
>    CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
> +  AXIS2_CLASSPATH=`cygpath --path --windows "$AXIS2_CLASSPATH"`
>    JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
>  fi
> ---- DIFF END ----

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to