IDEA - Passing info to ANT

How is it possible to pass parameters to ANT when running a script from IDEA. I would like to send ANT some information such as the file name and directory of my current file that I am editing.

Is this possible to do in the same way as when defining an external tool?

Sorry if this is a simple question

Please sign in to leave a comment.