Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

ANT target : appending

Options
  • 30-07-2002 5:14pm
    #1
    Registered Users Posts: 15,443 ✭✭✭✭


    I have a chunk of files, lets call them a thru z.

    I want to append these together into a single file. I want a first, but I dont care about the order after that. I can survive even if I cant guarantee that a will be first.

    I want to do this thru ANT.

    ANyone got any suggestions?

    jc


Comments

  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    Have you looked at the </concat> command?


  • Registered Users Posts: 15,443 ✭✭✭✭bonkey


    Nope - cause its not in ant 1.4.1, which is what I'm using at the moment.

    Is this from the 1.5 release (which I've only just noticed is out)

    Hmmm....if that fixes my problem, I think its time to tell the dev team to upgrade :)

    Thanks Hobbes.

    jc


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    Worth the upgrade. Check the what's new to see what it breaks.

    It tries to behave the same way and apart from "$$" now displaying as "$$" (Use "$") the only other things I've found it broke was my custom tasks which I had to change slightly.

    If you don't want to upgrade you could make a custom API which extends the FileSet task then just open each file and stream it to a single file.


Advertisement