Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Way to write to an xml file in META-INF of a jar

 
raghu rama
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
raghu rama
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot for the reply Jeanne
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic