*This works fine:*

<target name="integrity_check">
        <exec executable="/usr/bin/find"
outputproperty="num_files_vss_fetched">
                <arg line="${cvs_output_dir} -type f"/>
        </exec> 
        <echo message = "${num_files_vss_fetched}"/>
</target>


*Add a pipe to wc -l and it falls over with error as below:*

<target name="integrity_check">
        <exec executable="/usr/bin/find"
outputproperty="num_files_vss_fetched">
                <arg line="${cvs_output_dir} -type f | wc -l"/>
        </exec> 
        <echo message = "${num_files_vss_fetched}"/>
</target>

*Error*
  [echo] /usr/bin/find: paths must precede expression
  [echo] Usage: /usr/bin/find [path...] [expression]


Any ideas?
Thanks



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to