You use records for that. You surround any task with your recorder and get a 
copy of screen output
to a (specified) file. Example:

        <target name="cool">
                 <record name="log.txt" action="start"/>
                 <echo>This is cool</echo>
                  <record name="log.txt" action="stop"/>
        </target>

 --- Douglas Kramer <[EMAIL PROTECTED]> a écrit : 
> When I use <exec> and specify output, all the output is redirected
> from the display to the log file.
> 
>     <exec dir="." executable="java" output="build.log">
> 
> I want to be able to also view the output as it runs.
> Is there any way to send both standard out and standard error
> simultaneously to both a log file and the display?
> 
> I'm basically looking for the equivalent to the csh "tee" command:
> 
> % cmd |& tee log
> 
> -Doug
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>  


        

        
                
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/

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

Reply via email to