daniels
daniels

Reputation: 19233

How to specify different path to build.properties for Ant?

My build.properties is not in the same folder as build.xml. I know i could specify the path for build.properties with a param -Dsometing

Any idea what is that?

Upvotes: 1

Views: 62

Answers (1)

Nicolas Lalevée
Nicolas Lalevée

Reputation: 2013

See the output of ant --help. The option you are looking for is -propertyfile.

Exemple of usage:

ant -propertyfile subfolder/build.properties

Upvotes: 3

Related Questions