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
Getting 0x800CCC0B Error while Sending the Messages
Cannot find certificate for SSID
eDirectory Certificate Server SSL Error
IPv6 network setup
How to delete spam emails using qmHandle?
Wireless device to connect two JetDirect Print servers to WLAN?
wpa/wpa2 enterprise and 802.1x
vlan problem
Failed finding a suitable domain controller....
What is option 66?