I'm writing a shell script to automate an elaborate build process. It includes execution of multiple
ant scripts located in different directories.
The shell script is in my home directory, while the ant scripts are located in:
/opt/myApp/module1/ ant -f patch.xml, and
/opt/myApp2/module2 ant build.xml.
How can I invoke ant command in my shell script, from a different folder location?