I have build.xml and invoke ant from the command prompt, which would call build.xml and do whatever mentioned there.
Now, in build.xml, I want to give some commands like print so that it will print the name of the .xml being invoked. That is, it should print the name of the file...in this case, it should print "build.xml".
I was going through Exec command in ant. Can it be done using Exec command or somehow simply?