Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-136

Add property to modify development-time bundle class path for Eclipse PDE

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Framework
    • 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.

      Attachments

        1. osgi-frameworks.JPG
          37 kB
          Robert Koszegi
        2. target-platform.JPG
          73 kB
          Robert Koszegi
        3. run-configurations.JPG
          101 kB
          Robert Koszegi
        4. felix-launcher.zip
          36 kB
          Robert Koszegi

        Activity

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: