I need to invoke a ant script via shell script. Let us consider the parameters for ant script are a,b,c. how can i pass the parameter for those variables? I must provide the
Do you mean assigning value to a property from command line? If so, try
-DpropertyName=itsValue
For example,
and then
ant -Dperson="MerryPrankster" hi
yields
[echo] Hello MerryPrankster