run Ant with -verbose option and you'll see the command.

Jan 

>-----Ursprüngliche Nachricht-----
>Von: Dan Vint [mailto:[EMAIL PROTECTED] 
>Gesendet: Donnerstag, 27. September 2007 07:16
>An: user@ant.apache.org
>Betreff: Finding the command from exec task
>
>I have a situation where I'm using the exec task to run a program. The 
>underlying program is sensitive to the use of double or single 
>quotes. At 
>the command line without Ant I can get two different results from the 
>program I'm calling. When I put this call into Ant I get the 
>result from 
>having used the single quotes. So I ave tried an argument that 
>looks like 
>this:
>
>argument="-a 'test'" and I have tried argument='-a "test"'
>
>both are accepted by Ant, but I get the same result from the 
>underlying 
>program in both cases. It's liek the quotes are being 
>normalized to some 
>standard. What I would like to see is the actual command as it 
>is executed 
>with the program and its arguments.
>
>There aren't any parameters to this task to capture that 
>information, any 
>idea how I might get this information?
>
>..dan
>
>---------------------------------------------------------------
>------------
>Danny Vint
>
>Specializing in Panoramic Images of California and the West
>http://www.dvint.com
>
>Voice:510:522-4703
>FAX: 801-749-3229
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to