473,466 Members | 1,439 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

[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 6074
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.