Java Runtime Classpath Providers
Identifier:
org.eclipse.jdt.launching.classpathProviders
Since:
2.1
Description:
This extension point allows clients to dynamically compute and resolve classpaths and source lookup paths for Java launch configurations. A Java launch configuration is can be associated with a custom classpath provider via the launch configuration attriubte ATTR_CLASSPATH_PROVIDER and a custom source path provider via the attribute ATTR_SOURCE_PATH_PROVIDER. When specified, the launch configuration attributes correspond to the id of a classpath provider extension.
Configuration Markup:
<!ELEMENT extension (
classpathProvider*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
-
point - a fully qualified identifier of the target extension point
-
id - an optional identifier of the extension instance
-
name - an optional name of the extension instance
<!ELEMENT classpathProvider EMPTY>
<!ATTLIST classpathProvider
id CDATA #REQUIRED
class CDATA #REQUIRED
>
-
id - a unique identifier that can be used to reference this classpath provider
-
class - the class that implements this classpath provider. The class must implement
IRuntimeClasspathProvider
Examples:
The following is an example of a classpath provider:
<extension point=
"org.eclipse.jdt.launching.classpathProviders"
>
<classpathProvider
class=
"com.example.ProviderImplementation"
id=
"com.example.ProviderId"
>
</classpathProvider>
</extension>
Supplied Implementation:
A default implementation is provided for all launch configurations that do not specify a custom classpath provider.
Copyright (c) 2000, 2008 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v10.html