Hi,
I have a file called local.properties (which is different from build.properties).
This file has the values defined like:
name.db.username =db_user
name.db.pwd =db_pwd
I need to retrieve the password value and copy this into password tag value to a jdbc.xml file. The format of jdbc.xml is as below:
<datasource>
<id>default</id>
<defaultschema></defaultschema>
<driver></driver>
<url></url>
<username></username>
<password>
"value should be copied here"</password>
<minconnections>3</minconnections>
<maxconnections>60</maxconnections>
<connectiontestsql></connectiontestsql>
</datasource>
I need to do plug in this code in an existing build.xml file written using
ant script.
Would really appreciate a quick response.
Thanks
Dipali