[exec] Current OS is Linux
[exec] Executing 'cp' with arguments:
[exec] '/home/bpracht/xks/current/internal/debug/Linux/2.4.18-14debug/i386/xml4c/lib/*'
[exec] '/home/bpracht/xks/current/install/debug/Linux/2.4.18-14debug/i386'
[exec]
[exec] The ' characters around the executable and arguments are
[exec] not part of the command.
[exec] /bin/cp: cannot stat `/home/bpracht/xks/current/internal/debug/Linux/2.4.18-14debug/i386/xml4c/lib/*': No such file or directory
Both the source and target exist.
Here's my exec statement: <switch value="${OSFamily}"> <case value="windows"> <property name="CopyCommand" value="copy"/> </case> <case value="unix"> <property name="CopyCommand" value="cp"/> </case> </switch> <exec executable="${CopyCommand}" dir="${internal}" vmlauncher="true" failonerror="true"> <arg path="${internal}/xml4c/lib/*"/> <arg path="${install}/."/> </exec> <exec executable="${CopyCommand}" dir="${internal}" vmlauncher="true" failonerror="true"> <arg path="${internal}/xml4c/msg/*"/> <arg path="${install}/."/> </exec>
I've tried vmlauncher=true and false, and both give me the same results. However, when I
change the value of ${CopyCommand} to a shell script called bcp, the script runs, and
successfully copies the file.
How can I fix this problem?
Thanks in advance, Ben P
This email scanned for Viruses and Spam by ZCloud.net For more information on our $99 per year dial-up internet with filtered email please visit us at: http://www.zcloud.net
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]