A classpath provider computes an unresolved classpath for a launch
configuration, and resolves classpath entries for a launch configuration.
A classpath provider is defined as an extension of type
org.eclipse.jdt.launching.classpathProvider.
A provider is registered with an identifier that can be
referenced by a launch configuration. A classpath provider is consulted
to compute a classpath or source lookup path when a launch configuration
references a provider in one or both of the following attributes:
ATTR_CLASSPATH_PROVIDER
ATTR_SOURCE_PATH_PROVIDER
A provider extension is defined in plugin.xml.
Following is an example definition of a runtime classpath provider
extension.
id specifies a unique identifier for this extension. This
identifier may be used to reference a provider on one of the launch
configuration attributes mentioned above.
class specifies the fully qualified name of the Java class
that implements IRuntimeClasspathProvider.
org.eclipse.jdt.launching.classpathProvider.A provider is registered with an identifier that can be referenced by a launch configuration. A classpath provider is consulted to compute a classpath or source lookup path when a launch configuration references a provider in one or both of the following attributes:
A provider extension is defined inATTR_CLASSPATH_PROVIDERATTR_SOURCE_PATH_PROVIDERplugin.xml. Following is an example definition of a runtime classpath provider extension.<extension point="org.eclipse.jdt.launching.classpathProviders"> <classpathProvider id="com.example.ExampleClasspathProvider" class="com.example.ExampleClasspathProviderImpl" </classpathProvider> </extension>The attributes are specified as follows:idspecifies a unique identifier for this extension. This identifier may be used to reference a provider on one of the launch configuration attributes mentioned above.classspecifies the fully qualified name of the Java class that implementsIRuntimeClasspathProvider.Clients may implement this interface.