>-Ursprüngliche Nachricht-
>Von: Camer38 [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 15. Februar 2007 08:26
>An: user@ant.apache.org
>Betreff: Re: AW: AW: AW: Copy a single file to directories
>
>
>Thanks.
>
>Performance is an issue as well - in your opin
Thanks.
Performance is an issue as well - in your opinion which solution is faster?
Marcin
--
View this message in context:
http://www.nabble.com/Copy-a-single-file-to-directories-tf3221651.html#a8980914
Sent from the Ant - Users mailing list archive at Nabble.com.
--
Mittwoch, 14. Februar 2007 16:23
>An: user@ant.apache.org
>Betreff: Re: AW: AW: Copy a single file to directories
>
>
>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
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
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
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
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
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?
>
>
>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?
Jan
>
>Thanks in advance - I relay appreciate you help.
>
>Marcin
>
Have you migrated now, Steve? ;-)
Main idea is that does the copy stuff. Why should we have a
?
Jan
>-Ursprüngliche Nachricht-
>Von: Steve Loughran [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 29. September 2005 17:57
>An: Ant Users List
>Betreff: Re: AW: Copy files according
Oh, sorry not sure about that. I usually use the **/* version and it works
as I
thought it should.
Let´s have a look at the sources of patternset [1] ... okay -
PatternSet.NameEntry just
holds the name value. Evaluation is done in the DirectoryScanner [2]. There
it´s written
that name/ is name/**
Not tried, but there are two different things combined in your statement:
- the selection of files to work on ( selector)
- how to handle these files (default setting of )
The second you can modify with s. E.g. the regexp-mapper could be
useful. Just a thought:
12 matches
Mail list logo