Thanks for getting back to me.

I'm aware of -verbose and -debug but they generate too much much
information.  I'm looking for something simple and analogous to @ in DOS
batch file.

I guess I can write an exec macrodef and print the command as Martin
suggested.






Jan.Materne wrote:
> 
> Start Ant with -verbose or -debug.
> 
> Jan 
> 
>>-----Ursprüngliche Nachricht-----
>>Von: viet nguyen [mailto:[email protected]] 
>>Gesendet: Freitag, 6. März 2009 15:45
>>An: [email protected]
>>Betreff: how to "echo" exec command
>>
>>
>>how do I "echo" or display the full command exec is about to 
>>run?  In my
>>example I should see 
>>[exec] VBoxManage controlvm vm poweroff
>>but nothing is shown.
>>
>>ant version=1.7 os = fedora 10 shell=bash, jdk=1.5.8
>>
>>    <target name="vbox" depends="-init-run">
>>        <exec executable="VBoxManage" failifexecutionfails="false">
>>            <arg line="controlvm ${vbox.vmname} poweroff"/>
>>        </exec>        
>>     ....
>>
>>vbox:
>>     [exec] 
>>     [exec] VirtualBox Command Line Management Interface Version 2.1.4
>>     [exec] (C) 2005-2009 Sun Microsystems, Inc.
>>     [exec] All rights reserved.
>>
>>-- 
>>View this message in context: 
>>http://www.nabble.com/how-to-%22echo%22-exec-command-tp22373827
>>p22373827.html
>>Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>>
>>---------------------------------------------------------------------
>>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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-%22echo%22-exec-command-tp22373827p22374727.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to