Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Eclipse PDE uses "framework launchers" for lauching arbitrary OSGi frameworks. Felix in combination with its "reference:" protocol is successfully able to be launched by Eclipse PDE, but it is not ideal since it requires that the project be structured with everything in the root directory. Since projects are typically organized around bin/ and classes/ directories, this is less than perfect.
Equinox supports a special property to modify the bundle's class path at development time to alleviate this situation. Such a property could also be added to Felix to improve integration with Eclipse PDE.
For example, DirectoryRevision could be modified to search for a configuration property named ${bundle-symbolic-name}.classpath and could prepend this value to the existing manifest header. To my understanding, this is similar to the approach used by Equinox.
If we implement this, then we should probably add another property to enable/disable development-time features, so that people cannot use this property unless the framework is being used in development mode.