ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: copy one file to multiple directories
Date Tue, 07 May 2002 13:53:19 GMT
On 07 May 2002, Stefan Kost <s.kost@webmacher.de> wrote:

> 1.) allowing the touch-task to have a mapper would have helped me.
> Then I could have supplied a fileset based on some expression and
> used a mapper to make up my (not yet existing) filenames.

How?  I'm sorry, I may have missed the beginning of the thread.

> 2.) an attribute overwrite on style-task would have helped me.

It is there (it is called force).

> 3.) extending the copy-task, so that if "file" is given, but neither
> "toDir" nor "toFile" the the embedded "<fileset>" specifies
> destination filenames.

Too implicit for me - I'd rather add a new nested element <destdirset>
that makes up a dirset (new in Ant 1.5) and all directories in this
set would become target directories.

Stefan

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


Mime
View raw message