Folks,
I have been trying to pass a commandline arg containing quotes"", but it
seems to get stripped when its actually executed.
My log.xml shows string containing the String just prior to execution and
when the execute() is called on the ExecTask. Note the text following -cp...
<message priority="debug"><![CDATA[EJB Deploy Options:
D:\workdir\ant\build\ejb\AuthInfo-generic.jar _ejb_temp
D:\workdir\ant\build\ejb\AuthInfo.jar -cp
"E:\IBM\WAS40\lib\j2ee.jar;E:\IBM\WAS40\lib\websphere.jar;D:\workdir\ant\bui
ld\classes" -dbvendor ORACLE_V8 -quiet]]></message>
<message priority="debug"><![CDATA[ejbdeploy.bat
D:\workdir\ant\build\ejb\AuthInfo-generic.jar _ejb_temp
D:\workdir\ant\build\ejb\AuthInfo.jar -cp
E:\IBM\WAS40\lib\j2ee.jar;E:\IBM\WAS40\lib\websphere.jar;D:\workdir\ant\buil
d\classes -dbvendor ORACLE_V8 -quiet]]></message>
The absence of the quote causes a command execution problem.
Any escape characters that I can utilize for the quotes?
Any pointers in this direction...
TiA
--Maneesh