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 "Sanka Samaranayake (JIRA)" <ji...@apache.org> on 2007/02/26 18:45:06 UTC

[jira] Resolved: (AXIS2-1842) "setenv.sh" can't work well in Cygwin environment

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

Sanka Samaranayake resolved AXIS2-1842.
---------------------------------------

    Resolution: Fixed


Applied the patch uploaded patch.
(see committed revision 511920.)

Thanks Paladin !!



> "setenv.sh" can't work well in Cygwin environment
> -------------------------------------------------
>
>                 Key: AXIS2-1842
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1842
>             Project: 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
>         Assigned To: Sanka Samaranayake
>         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.
-
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