tpatil created the topic: Replace xml values using ant
I want to replace xml values using ant. Any idea?
e.g
I want to replace the value of hibernate.dialect property using ant.
rajeshkumar replied the topic: Re: Replace xml values using ant
You can opt for any one of these based on senario…
1. if you can your Value as holding place such as…
Then u can use Filterset task in Ant…for more info…
ant.apache.org/manual/Types/filterset.html
2. If you have same requirement as you mentioned abobe… then probably you can try ReplaceRegExp ant task.
ant.apache.org/manual/Tasks/replaceregexp.html
Please let me know if this solve your problem. 🙂
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND