Number Of Page View:100,000+/Months
LOGIN |New User


How many ways we can set properties into build ant file?
There are six ways to set properties:
1.Supplying both the name and value attribute.
    <property name="src.dir" value="src"/>
2.Supplying both the name and refid attribute.
3.Setting the file attribute with the filename of the property file to load.
4. Setting the url attribute with the url from which to load the properties. 
5.Setting the resource attribute with the resource name of the property file to load. 
6.Setting the environment attribute with a prefix to use.

We can use the combinations of all above in our build files .But only one should be used at a time.