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 "Manoj Khangaonkar (JIRA)" <ji...@apache.org> on 2006/12/26 16:25:21 UTC

[jira] Commented: (AXIS2-1912) java2WSDL.bat needs to use existing CLASSPATH as well

    [ http://issues.apache.org/jira/browse/AXIS2-1912?page=comments#action_12460882 ] 
            
Manoj Khangaonkar commented on AXIS2-1912:
------------------------------------------

At the very least, it saves the user the trouble of typing the redundant -cp . (dot) option with every commandline.

It is reasonable to assume that the current directory is in the classpath based on the users environment

> java2WSDL.bat needs to use existing CLASSPATH as well
> -----------------------------------------------------
>
>                 Key: AXIS2-1912
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1912
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl, codegen
>    Affects Versions: 1.1, 1.2, 1.1.1
>         Environment: Windows
>            Reporter: Manoj Khangaonkar
>         Attachments: java2wsdl.bat
>
>
> Users may have an existing environment variable CLASSPATH - that points to the current directory and other directories as well as other jars.
> java2WSDL.bat needs to append the existing classpath to AXIS2_CLASS_PATH as in
> set AXIS2_CLASS_PATH=%CLASSPATH%;%AXIS2_HOME%
> This saves user the trouble of adding multiple -cp options at the command line.
> Attached is an updated java2WSDL.bat as a patch.
> java2wsdl.sh already does the same

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