IntelliJ IDEA 2023.2 Help

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

  1. Open the Build File Properties dialog.

  2. Select the Additional Classpath tab.

  3. 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.

  4. Use Move Up and Move Down buttons to change the order of classpath entries.

Last modified: 23 August 2023