Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
task to 'cp -r --reply=no '

task to 'cp -r --reply=no '

2007-06-12       - By Matt Benson
Reply:     1     2     3     4     5     6     7     8     9     10  

Hi Chris:
 Try using a <present present="srconly" ... />
selector with your source <fileset>.

HTH,
Matt

--- Chris Velevitch <chris.velevitch@(protected)> wrote:

> On 6/12/07, Rebhan, Gilbert
> <Gilbert.Rebhan@(protected)> 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@(protected)
> For additional commands, e-mail:
> user-help@(protected)
>
>



     
_______________________________________________________________________________
_____
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.
http://farechase.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.