How to Pass parameters for a Ant script , which is invoked via shell script?
Do you mean assigning value to a property from command line? If so, try
-DpropertyName=itsValue
For example,
<project> <target name="hi"> <property name="person" value="world"/> <echo message="Hello ${person}"/> </target></project>
and then
ant -Dperson="MerryPrankster" hi
yields
[echo] Hello MerryPrankster