RE: SSHExec Target

2008-01-24 Thread Amarjit Jutla
SSHExec executes without any environment. So the script that you call with SSHExec should set the environment variables you requires (eg: PATH) See what the environment is when you run via command prompt and set the same in the first script that SSHExec calls. -Original Message- From

RE: How to escape characters in regexp strings?

2007-08-17 Thread Amarjit Jutla
You must also escape the \ character < replaceregexp file="${artifactsdir}/${label}/${env}/src/include/configuration_wassup.php" match='define(\\"WS_WASSUPHOST\\" *, *\\".*\\");' replace='define(\\"WS_WASSUPHOST\\", \\"${dev.bck.mmc.ws_wassuphost}\\");' /> -O