Alex Rosen <[EMAIL PROTECTED]> wrote:

> That's a valid point, though I can definitely see this either
> way. If Ant supported the prefix and/or fullpath attributes on all
> tasks where it made sense (e.g. copy and move), would you still
> object?

Does it make sense in copy?

All use cases I can come up, something like

<copy todir="target">
  <fileset dir="src1" />
  <prefixedfileset dir="src2" prefix="inner/" />
</copy>

would be better suited and more readable by two separate <copy> tasks
IMHO.

<copy todir="target">
  <fileset dir="src1" />
</copy>
<mkdir dir="target/innner" />
<copy todir="target/inner">
  <fileset dir="src2" />
</copy>

> In any case, with Pete's latest change, both <filesets> and
> <prefixedfilesets> can have these extra attributes in Zip
> tasks.

Thats because I was not paying attention 8-). addFileset should have a
plain FileSet as its argument IMHO.

Stefan

Reply via email to