Expanding the Ant classpath

Plug-ins can contribute extra JAR files to the Ant classpath. The plug-in contributing the JARs is added to the Ant classpath, and as a result, classes inside the contributed JAR files will have access to all classes available to the plug-in. However, the reverse is not true. Since the contributed JAR files must be separate JARs, and not plug-in libraries, the plug-in classes do not have access to the classes provided by the contributed JARs. The org.eclipse.ant.core.extraClasspathEntries extension point provides an example of how to specify the extra JARs in the plugin.xml file.