+1 vote
in DevOps by
How Many Ways We Can Set Properties Into Build Ant File?

1 Answer

0 votes
by

There are six ways to set properties:

Supplying both the name and value attribute.<property name=”src.dir” value=”src”/>

Supplying both the name and refid attribute.

Setting the file attribute with the filename of the property file to load.

Setting the url attribute with the url from which to load the properties.

Setting the resource attribute with the resource name of the property file to load.

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.

Apache Cassandra Tutorial Apache Spark Interview Questions

Related questions

+1 vote
asked May 9, 2020 in DevOps by Robindeniel
0 votes
asked Feb 17, 2020 in Git by SakshiSharma
...