On the classpath tab of the Ant > Runtime preference page you can add additional classes defining tasks and types to the Ant classpath.
On the tasks page you can add tasks defined in one of the classes on the classpath.
On the types page you can add types defined in one of the classes on the classpath.
On the properties page you can add properties and property files that will be passed into Ant.