Reputation: 3
Is it possible to send one property file and a separate value as two different parameters to an Ant script ?
E.g. build.xml propertyfile=propfile -Dname1=value1
Upvotes: 0
Views: 67
Reputation: 10377
RTFM ;-) means see Ant manual running Apache Ant, f.e.
ant -f whatever.xml -propertyfile=/var/usr/foobar.properties -Dfoo=bar
multiple -Dkey=value or -propertyfile=path/to/propertyfile are possible
Upvotes: 1