ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tibor Strausz <>
Subject do task if condition is value
Date Wed, 17 Jul 2002 09:28:29 GMT


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"/>



To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message