Define additional Ant classpath
Ant build scripts require classpaths that are independent of IntelliJ IDEA, or additional libraries for proper functioning. This section describes how to add directories and archives to the classpath, and change the order in which Ant loads the resources.
Configuring Ant classpaths
Select the Additional Classpath tab.
Click Add, and in the Select Path dialog select an archive or a directory to be added to the classpath.
If you want to add the contents of a whole directory, click the Add All In Directory button, and select the desired directory in the Select Path dialog.
Use Move Up and Move Down buttons to change the order of classpath entries.