Generally, dynamically generated bundle classpath entries are not present under project source tree but included in the bundle as part build process. During development time such bundle classpath entries can be resolved to external jar files or workspace resources. Resolution of the same entry may change over time, similarly to how Plug-in Dependencies classpath container can switch between external bundles and workspace projects.
A resolver is declared as an extension
org.eclipse.pde.core.bundleClasspathResolvers). This extension
has the following attributes:
naturespecified nature of the projects this resolver is registered for.
classspecifies the fully qualified name of the Java class that implements
The resolver is consulted when dynamically generated bundle is added to OSGi runtime launch and when looking up sources from the bundle.
Method SummaryModifier and TypeMethodDescriptionReturns a possibly empty map describing additional bundle classpath entries for a project in the workspace.Returns a possibly empty collection listing additional classpath entries for the source lookup path of a project in the workspace.
getAdditionalClasspathEntriesReturns a possibly empty map describing additional bundle classpath entries for a project in the workspace.
The map key is a
IPathdescribing the project relative path to a source directory or library. The value is the
IPathlocations (relative to the project or absolute) that should be added to the bundle classpath.
javaProject- the java project to collect classpath entries for
- additional entries to add to the bundle classpath. Map of IPath to Collection, possibly empty
getAdditionalSourceEntriesReturns a possibly empty collection listing additional classpath entries for the source lookup path of a project in the workspace.
javaProject- the java project to collect source entries for
- additional entries for the source lookup path. Collection of IRuntimeClasspathEntry, possibly empty