Yeah, but remember filesets do not imply any ordering, and concatenating files in arbitrary order is probably not the desired effect. It would be better for a <concat> or <cat> task to take a path (and therefore filesets implicitly if desired) in order to maintain order.
----- Original Message ----- From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 2:13 PM Subject: Re: concat files ? > > ----- Original Message ----- > From: "Stefan Bodewig" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 21, 2001 10:57 PM > Subject: Re: concat files ? > > > > On Wed, 21 Nov 2001, Steve Loughran <[EMAIL PROTECTED]> wrote: > > > > > How about we extend <echo> to have a srcFile attribute. > > > > I'm not sure whether this would finally really overload that poor echo > > task ... I could live with that. > > > > > But would this add extra line endings? > > > > Don't know, give it a try. > > It may be better to have a <cat> task that takes a fileset. I think adding a > fileset to echo would be somewhat excessive > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>