| Author |
Way to write to an xml file in META-INF of a jar
|
raghu rama
Greenhorn
Joined: Dec 20, 2012
Posts: 11
|
|
Hi all,
I have been learning Ant tool for a while,I have a question regarding access of xml file .Is there any way to write to an xml file,that is present in the META-INF folder of the jar ,without retreiving the xml file
?
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Welcome to CodeRanch!
It sounds like you are trying to make changes to a file that exists inside a jar without first referencing the original xml file. In which case, no you cannot do that. You can extract the XML file, update it and put it back - all in Ant though.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
raghu rama
Greenhorn
Joined: Dec 20, 2012
Posts: 11
|
|
|
Thanks a lot for the reply Jeanne
|
 |
 |
|
|
subject: Way to write to an xml file in META-INF of a jar
|
|
|