You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Robert Mark Bram <re...@optusnet.com.au> on 2004/05/15 17:31:37 UTC
Capturing standard and error output from java with spawn="true"
Hi All!
As Matt Benson pointed out in this list earlier, output/error are
incompatible with spawn="true" in a java target such as:
<target name="tickerclock">
<java classname="clock.TickerClock"
classpath="${clink_jar}:${xerces_jar}:${xml_jar}:${classes}"
fork="true"
spawn="true">
</java>
</target>
Can anyone suggest how I can capture standard and error output in this
case?
I do not control the code so I cannot have it output to anywhere else..
Any ideas would be most appreciated!
Rob
:)
--
Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
B.Net.Comp.(Hons)
Doctor of Philosophy Student
School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199
AUSTRALIA
Phone: 61 3 9904 4394
Facsimile: 61 3 9904 4124
Email: robert.mark.bram@infotech.monash.edu.au
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org