Re: AW: AW: Copy a single file to directories

2007-02-14 Thread Camer38
Hi, I have one more chalange - pretty similar to previous one. I need to perform a copy like in the previous example but this time I shoul copy only in the case if a file book.xml is present othervise the copy does't take a place. Thanks yor any kind of tip Marcin Peter Reilly-2 wrote: > > An

Re: AW: AW: Copy a single file to directories

2007-02-13 Thread Camer38
Hi, Gents - hats off Your solution is great - I like it a lot, thank you very much. A tiny correction: <-- I use ** because I need to copy everywhere--> -- View this message in context: http://www.nabble.com/Copy-a-single-fi

RE: AW: AW: Copy a single file to directories

2007-02-13 Thread Sam Hendley
m: Peter Reilly [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 13, 2007 1:09 PM To: Ant Users List Subject: Re: AW: AW: Copy a single file to directories An example: rm -rf dirs mkdir -p dirs/a/org/simple mkdir -p dirs/b/org/sim

Re: AW: AW: Copy a single file to directories

2007-02-13 Thread Peter Reilly
An example: rm -rf dirs mkdir -p dirs/a/org/simple mkdir -p dirs/b/org/simple mkdir -p dirs/d/org/simple mkdir -p dirs/c/org/simple Peter On 2/13/07, Camer38 <[EMAIL PROTECTED]> wrote

Re: AW: AW: Copy a single file to directories

2007-02-13 Thread Camer38
Ok, let me take a deep look... Jan.Materne wrote: > >>Thanks for a quick answer. >>Could you be more elaborative and deliver more complex example, please. >>At this moment I have a very brief idea how to use antcontrib > > > Not without more information. Have you played with that code? > >