IntelliJ IDEA 2017.2 Help

Defining Additional Ant Classpath

Ant build scripts require classpaths that are independent from 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

  1. Open the Build File Properties dialog.
  2. Select the Additional Classpath tab.
  3. Click Add, and in the Select Path dialog box 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 box.

  4. Use Move Up and Move Down buttons to change the order of classpath entries.
Last modified: 29 November 2017

See Also