ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "broken connection" <brokenconnect...@gmail.com>
Subject Editing an XML file using ant
Date Wed, 19 Sep 2007 17:45:17 GMT
Hi Friends,

I want to add some extra mime-mappings to an web.xml file  in the deployment
environment using my build script.I am trying using "XMLTASK" but for some
reason it's not working. Is there any other way using ANT to accomplish this
task.

This is what i am trying with XMLTask:

<xmltask source="${dest}/web.xml" dest="${dest}/web.xml" >
   <insert path="/web-app/mime-mapping[1]" position="before" file="
insert.xml">
   </insert>
</xmltask>

It just copies the source web.xml to destination and does not appends
anything.


Thanks
Mick

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message