Switching Ant Versions

See Also

The IDE comes bundled with Ant version 1.6.1 and uses this installation to run Ant scripts. You can change the version of Ant that the IDE uses by switching the Ant installation directory in Ant Settings. You can only switch between versions 1.5.3 and higher of Ant.

To switch the IDE's Ant version:

  1. Choose Tools and choose Options from the main window.
  2. Expand the Building node and select Ant Settings.
  3. Type the full path to the Ant installation directory in the Ant Home property. The Ant installation directory must contain a lib/ subdirectory containing the ant.jar binary. For example, for the standard Ant 1.5.4 release, the Ant installation directory is apache-ant-1.5.4. If you enter a directory that does not match this structure, the IDE gives you an error.
See Also
Ant Classpath and Custom Tasks
Setting the JDK for an Ant Script
Configuring Ant Settings

Legal Notices