[Ant] Merge two xml files

Discussion in 'XML' started by Eirik Eldorsen, Jan 24, 2004.

  1. In my project the web.xml file is autogenerated from Xdoclet tags. My
    problem is that I have some xml code that I can't autogenerate with Xdoclet
    tags. Is it possible to put this code in a separate xml file, and then make
    Ant merge it into web.xml?

    Eirik Eldorsen
    Eirik Eldorsen, Jan 24, 2004
    #1
    1. Advertising

  2. Eirik Eldorsen

    Brian Agnew Guest

    See http://www.oopsconsultancy.com/software/xmltask for an Ant task that
    will do this and more besides.

    Eirik Eldorsen wrote:
    > In my project the web.xml file is autogenerated from Xdoclet tags. My
    > problem is that I have some xml code that I can't autogenerate with Xdoclet
    > tags. Is it possible to put this code in a separate xml file, and then make
    > Ant merge it into web.xml?
    >
    > Eirik Eldorsen
    >
    >


    --
    Brian Agnew http://www.oopsconsultancy.com
    OOPS Consultancy Ltd brian @ nospam_oopsconsultancy.com
    Tel: +44 (0)7720 397526
    Fax: +44 (0)20 8682 0012
    Brian Agnew, Apr 12, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luke Airig
    Replies:
    1
    Views:
    902
    Patrick TJ McPhee
    Dec 16, 2003
  2. Luke Airig
    Replies:
    0
    Views:
    616
    Luke Airig
    Dec 21, 2003
  3. Kjetil Finsrud

    Merge two different xml files into one

    Kjetil Finsrud, Nov 23, 2004, in forum: XML
    Replies:
    0
    Views:
    1,171
    Kjetil Finsrud
    Nov 23, 2004
  4. J
    Replies:
    0
    Views:
    333
  5. Stefan Behnel
    Replies:
    0
    Views:
    608
    Stefan Behnel
    Jan 12, 2012
Loading...

Share This Page