Twitter github

FYI: New Style Source Bundles

In Eclipse 3.4, source will be shipped as individual bundles instead of the old way via the org.eclipse.pde.core.source extension point. So now you will see many bundles with the format of <id>.source floating in your Eclipse installation. What’s nice about this is that now source is just shipped as another corresponding bundle so there’s more flexibility there. If you peer inside these bundles, you’ll discover a new manifest header:

Eclipse-SourceBundle: org.eclipse.pde.core;version="3.4.0";roots:="ant_tasks/pde-antsrc,."

This header simply states what bundle you’re providing source for (ie., org.eclipse.pde.core) and where the source roots are within the bundle.

If you need more information, check out this wiki entry.

This new source format will make its debut in Eclipse 3.4M4.

  • earl hofert

    Great. A zillion bundles…

  • earl hofert

    Great. A zillion bundles…

  • robilad

    Nice first step.

    “Specific plug-ins may not require source bundles because they don’t actually contain source. This may occur with platform specific fragments that only contain a native library.”

    I’d expect a native library to have source code, too … šŸ˜‰

    That’s a nice bit of progress. It still lacks an important bit, afaict: information necessary to rebuild the bundle from the source bundle.

  • robilad

    Nice first step. “Specific plug-ins may not require source bundles because they don’t actually contain source. This may occur with platform specific fragments that only contain a native library.”I’d expect a native library to have source code, too … ;)That’s a nice bit of progress. It still lacks an important bit, afaict: information necessary to rebuild the bundle from the source bundle.

  • Joel Rosi-Schwartz

    Chris,

    Is there any tooling (or information) for building source bundles for third party libraries?

    Thanks,
    Joel

  • Joel Rosi-Schwartz

    Chris,Is there any tooling (or information) for building source bundles for third party libraries?Thanks,Joel