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>


<!ELEMENT classpathProvider EMPTY>

<!ATTLIST classpathProvider

id    CDATA #REQUIRED

class CDATA #REQUIRED>


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.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0