Community
Participate
Working Groups
Build Identifier: I20100608-0911 In the past all plugins have had source bundles attached. But since 3.6 when I select plugins on "Plug-ins" page of launch configuration dialog, source bundles are not available in runned Eclipse instance. I've added hack into org.eclipse.pde.internal.launching.launcher.BundleLauncherHelper to include them, but this is not nice IMHO. Do I miss something? How to include source bundles, but still be able to choose plugins to include into launch? while (tok.hasMoreTokens()) { String token = tok.nextToken(); processSingleBundleToken(set, map, token, null); // XXX processSingleBundleToken(set, map, token, ".source"); } Reproducible: Always
The source plug-ins will show up as before if the preference 'Plug-in Development' -> 'Show source plug-ins' is selected. It is unchecked by default.
Why do you need source bundles in your launched target? Usually you only need source bundles in the IDE where you are debugging/developing.
I work on WindowBuilder, WYSIWYG GUI builder for Eclipse. One of its small features is displaying JavaDoc of setX() method as tooltip for property. But if SWT/JFace is without sources, then I will not have JavaDoc. Or even easier - I will not see JavaDoc for SWT components in Java editor.
Then you are best off using the workaround Ankur mentioned, changing the preference back. The majority of users are not developing applications that use the source bundles, so source bundles are not visible in the launch configs by default.
OK, now I understand why this change was done. Thank you both for help.