Les Hughes <[EMAIL PROTECTED]> wrote: > Sounds like a problem in the CommandLine.Argument class maybe?
Not really. What Byrne sees looks like spaces, but they themselves wouldn't cause a problem. Ant doesn't pass the arguments to the executable as one long line, but as an array of arguments. If P4User is empty, >> commandline.createArgument().setValue(P4User); will result in an empty String as part of the array - and this is what p4 can not deal with. I think his patch is going to be submitted rather soon, as this is the correct fix IMHO - there may be times where an empty argument is exactly what you want to pass to a process, changing CommandLine.Argument to prohibit such arguments would be the wrong way, again IMHO. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
