Re: concat files ?

2001-11-22 Thread Stefan Bodewig
On Thu, 22 Nov 2001, Erik Hatcher <[EMAIL PROTECTED]> wrote: > It would be better for a or task to take a path (and > therefore filesets implicitly if desired) in order to maintain > order. +1 and I'd prefer over as it is less Unix centric. Stefan -- To unsubscribe, e-mail:

Re: concat files ?

2001-11-22 Thread Erik Hatcher
: "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: &l

Re: concat files ?

2001-11-22 Thread Steve Loughran
- 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 abou

Re: concat files ?

2001-11-21 Thread Stefan Bodewig
On Wed, 21 Nov 2001, Steve Loughran <[EMAIL PROTECTED]> wrote: > How about we extend 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. Stefa

Re: concat files ?

2001-11-21 Thread Steve Loughran
- Original Message - From: "Stefan Bodewig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 10:28 PM Subject: Re: concat files ? > On Wed, 21 Nov 2001, Bill Burton <[EMAIL PROTECTED]> wrote: > > > You could do thi

Re: concat files ?

2001-11-21 Thread Stefan Bodewig
On Wed, 21 Nov 2001, Bill Burton <[EMAIL PROTECTED]> wrote: > You could do this on UNIX without an external script but you would > have to execute the entire command line through /bin/sh -c "cat > file1 file2 file3 >>target_file". wouldn't work as well - without the need for shell

Re: concat files ?

2001-11-21 Thread Bill Burton
Hello, You could write a simple script and call it from . The script could assume its first argument is the target file and all subsequent arguments are the files that should be appended to the target file. On UNIX, it could be only two lines of code: #!/bin/sh target_file=$1 shift

Re: concat files ?

2001-11-21 Thread Diane Holt
A task was submitted to the user list awhile back to do this: http://marc.theaimsgroup.com/?l=ant-user&m=99024114802842&w=2 There may have been others submitted along the way as well -- I just stopped searching at the first one I found :) Diane --- Cyriaque Dupoirieux <[EMAIL PROTECTED]> wrot

RE: concat files ?

2001-11-21 Thread Helliwell, Matthew
Or you could use the exec task. -Original Message- From: James Bullington [mailto:[EMAIL PROTECTED]] Sent: 21 November 2001 15:36 To: Ant Users List Subject: Re: concat files ? The only way that I could think of doing it was with a custom program or task. --Jim --- Cyriaque

Re: concat files ?

2001-11-21 Thread James Bullington
The only way that I could think of doing it was with a custom program or task. --Jim --- Cyriaque Dupoirieux <[EMAIL PROTECTED]> wrote: > Hello, > > I need to concat several files into one file. > > How can I do this with Ant 1.3 ? > > Thank you for your help, > Regards, > > Cyri