ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Clark <Robert.Cl...@quest.com>
Subject Re: Issues with <java> vs <exec>
Date Fri, 14 May 2004 18:51:13 GMT
On Fri, 2004-05-14 at 08:38, Robert Mark Bram wrote:
> When using java task anyway, I found a way to supply a name for the new 
> window..
> <target name="old tickerclock">
>     <java classname="clock.TickerClock"
>           classpath="${clink_jar}:${xerces_jar}:${xml_jar}:${classes}"
>           fork="true"
>           spawn="true">
>        <arg value="Ticker Clock"/>
>        <arg value=">> text output"/>
>     </java>
> </target>
> But this still doesn't give a way to save the output..

The Java task supports the "output" and "error" options to redirect
standard out and standard error:

 <java classname="clock.TickerClock" 
       output="text output" 
       error="text error"
       ...>
   ...
 </java>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message