ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: How to suppress <exec> output?
Date Wed, 17 Mar 2004 21:52:31 GMT
The "Execute failed" message comes from Ant.  Why
execute cp if you can verify its (non)existence as I
showed you before with <available>?

-Matt

--- barry@goodconsultants.com wrote:
> 
> Thank you for the details :)
> 
> But I must be doing something wrong...
> 
> I do <exec executable="cp"
> failifexecutionfails="false" 
> errorproperty="is.UnixStyle" output="NUL"/>
> 
> Knowingly that it is an window box. It is still
> giving me "Execute failed" 
> message.
> 
> Any ideas?
> 
> B.
> 
> > <target name="nul" if="os.iswindows">
> >   <property name="null.device" value="NUL" />
> > </target>
> 
> 
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com

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


Mime
View raw message