Microsoft
Software
Hardware
Network
Question : ANT fetch values from properties file
I have the following ANT file
docbase="POC"
username="dmad"
password="He3"
/>
Is is possible to fetch the values of "dicbase", "username" and "password" from a properties file rather than writing them in XML file. That way each environment can have it's own properties file and we'll not have to maintain separate XML for each environment
Thank you
Answer : ANT fetch values from properties file
I usually write a properties file by the the name of build.properties in the same directory as the ant file.
Example.
user=a
password=b
Withiin the ant file I would access them as $user or $password.
Random Solutions
PING fails and NetBt4321 errors on XP Pro with Netgear FWAG114
Where can i set the disclaimer notice in domino
Connecting two PC's and a cable modem via crossover cable
Sonicwal change IP
SSI not working on IIS - Not a stupid question
Mac cant access sharing in windows 2008 domain
Help config ADSL Modem for PPPoE and static ip pool
DHCP fault tolerance
<a rel="nofollow" href="FTP" target="_blank">FTP</a>: 530 user username cannot log in error - Windows Server 2003, IIS 6.0
WINS troubleshooting