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 Saminda Abeyruwan <sa...@opensource.lk> on 2006/03/10 05:50:21 UTC

Re:[Axis2] Request: Quotation of command-line arguments

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Forwarded to Axis2 Dev list with [Axis2] prefix.

Morten Mortensen wrote:
> 
> Hi all developers
> 
> Just tried Axis2 0.94 today - or a part of it - and of course installed
> it in a path like -
> C:\Program Files\Apache Software Foundation\Axis2\0.94
> - on my Windows machine and set AXIS_HOME accordingly.
> 
> I notice, that at least one of the batch-files - "wsdl2java.bat" does
> not quote command-line arguments properly and hence does not work when
> put in a lokation containing spaces in its path.
> 
> Changing e.g.
> <java -cp %AXIS2_CLASS_PATH% ?>
> - to -
> <java -cp "%AXIS2_CLASS_PATH%" ?>
> - and changing -
> <FOR %%c in (%AXIS_HOME%\lib\*.jar) DO ?>
> - to -
> <FOR %%c in ("%AXIS_HOME%\lib\*.jar") DO ?>
> - does a difference...
> 
> If you need help for some of this from a Java equilibrist, I can help.
> 
> Regards, Morten Mortensen
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEEQWNYmklbLuW6wYRAjQnAJ9EO16+L3DtnopoeDUYdRjngNjQsQCbB/0/
DY8MkdQpUb9wL5A2bFmYVRc=
=PxQ+
-----END PGP SIGNATURE-----