ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Any chance for fileset arithmetic?
Date Tue, 29 Jul 2003 15:45:37 GMT
On Tue, 29 Jul 2003, Alexey Solofnenko <A.Solofnenko@mdl.com> wrote:
> I think it is easy. <zip> already supports part of it with
> <zipfileset>.

Sure, but not for "plain" filesets.

> <delete> will delete the original file.

I.e. treat it like any fileset.

> <copy> and others will copy or see the files with new names.

I.e. <copy> has to be aware that this is not a "plain" fileset and do
something special with it.

The point I'm trying to make is that the meaning of the prefix
attribute depends on the task - and that the task must be made aware
of it to give it any meaning.

In CVS HEAD, you can define <zipfileset> outside of any tasks and you
can use <zipfileset> wherever you can use a <fileset> in Ant 1.5.  It
sounds as if you really wanted that <copy> and a couple of other tasks
become aware of the fact that they are using a <zipfileset>.

> I just want to avoid copying a hundreds megabytes of data just to
> lay them out correctly.

I completely understand that goal, just think you are tackling it from
the wrong end.

Stefan

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


Mime
View raw message