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 Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals