473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

[Ant] Merge two xml files

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
Jul 20 '05 #1
1 6071
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
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mark McKay | last post by:
I'm finding I'm unable to use the ant tool with Netbeans in Windows 2000 to sign the JAR files I generate. I'm using the following ant tag, and the .keystore file is in my home directory: ...
0
by: Chow | last post by:
Hello Everyone, I am trying to run a ANT script(on Windows 2000, if that helps) which does a FTP (optional task) to a Unix box, and I get a error saying BUILD FAILED file:H://build.xml:11:...
1
by: Thomas Findeisen | last post by:
I tried to use ant for compiling my Jsp-Sides to servlets, it runs for some jsps and stops after a while with the following error (output slightly scrolled to the right side): ...
1
by: GG | last post by:
Hi all, This is not necessarily an Ant question, nor a standard sun Javac. I am using both, and all suggestions are welcome. I would like to build as many classes as possible from a given...
7
by: Rhino | last post by:
I am using DB2 V7.2.7 on Windows XP and I would like to write Ant 1.6.1 scripts that do some of my program preparation. For the benefit of those not familiar with Ant, it is an open source...
6
by: seberino | last post by:
I know distutils well but don't know anything about Ant except that it is a build tool from Apache project. Could it possible be better or as good as distutils? (There are extensions for...
12
by: michael sorens | last post by:
So I have compiled a .dll file from a Visual Studio 2005 project containing a few dozen c# files. Now I want to automate this build using ant (have not yet looked at nant, but the rest of my...
0
by: wb5plj | last post by:
Hi I am having a problem passing some sql to the db2cmd via ant. This is very confusing as I am doing this exact thing elseware with no problem (just differant sql, and I have verified the sql is...
11
by: mjahabarsadiq | last post by:
Hi I have created a web application. I am using ant to build the war and deploy in tomcat. The war file is deployed under "TOMCATE_HOME/work/standalone/localhost/onlineres.war". I have my...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.