ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Euan Guttridge <EGuttri...@buildonline.com>
Subject RE: exec task with bad args
Date Tue, 19 Nov 2002 12:35:36 GMT
Thanks, worked fine;

<target name="integrity_check">
	<exec executable="/bin/sh" outputproperty="num_files_vss_fetched">
		<arg value="-c"/>
		<arg value="find ${cvs_output_dir} -type f | wc -l"/>
	</exec>	

	<echo message = "${num_files_vss_fetched}"/>
<target/>


-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: 19 November 2002 12:24
To: ant-user@jakarta.apache.org
Subject: Re: exec task with bad args


"|" is just another way of shell redirects:
<http://jakarta.apache.org/ant/faq.html#shell-redirect-2>

Stefan

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

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


Mime
View raw message