Hi,
I'm working to port a vb autobild tool (home made) to ant.
For this there have to be done some of stuff which can't be done by ant
(com, msmq, regestry, compile vb).
For some tasks i will just use the command line or <exec> task.
My problem now is that i want to print the output of the command line (which
is in a log file) to the screen (prompt) only when there is a failer, when
'resultproperty' is 1.
Is there a way to do this?? Or should i make a task which looks like:
<writeLog src="out.log" condition="${resultproperty}" equals="1"/>
thanks,
tibi
--
To unsubscribe, e-mail: <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
|