ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Velevitch" <chris.velevi...@gmail.com>
Subject Re: task to 'cp -r --reply=no'
Date Tue, 12 Jun 2007 09:02:49 GMT
On 6/12/07, Rebhan, Gilbert <Gilbert.Rebhan@huk-coburg.de> wrote:
> combine it with a condition, example =
>
> <!-- Check ob Modul bereits verarbeitet -->
> <target name="check_erl">
>    <condition property="${mname}.done">
>      <available file="${ant.working.dir}/${mname}_script.params" />
>    </condition>
>  </target>
>
> and make your copy target depend on the target with condtion and unless
>
> <!-- Subroutine fuer Module mit Liefertyp build -->
> <target name="build" depends="check_erl" unless="${mname}.done">
> ...
> </target>

That's fine for one file, but cp -r tranverses a directory tree of
1000's of files. What's the ant equivalent of cp -r --reply=no?


Chris
-- 
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
m: 0415 469 095
www.flashdev.org.au

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


Mime
View raw message