Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

EclipseJDT Plug-in Developer Guide
Previous Page Home Next Page

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire