Question : run ant script with different xml name

If my ANT script is named build.xml, I can run it using
ant

Please let me know how should I run it if the name of ant script is abc.xml and task inside it is xyz.xml

I am trying
ant abc.xml xyz
but it is giving an error
"premature end of file"

Answer : run ant script with different xml name

ant -buildfile abc.xml xyz
Random Solutions  
 
programming4us programming4us