Community
Participate
Working Groups
The folder OSGI-INF at the root of a bundle is mentioned numerous times in the OSGi spec. For example, the Bundle-Localization header defaults to OSGI-INF/l10n/bundle. It would be helpful if PDE could issue a warning if the OSGI-INF folder exists at the root of the project, yet is not included in the build.properties key bin.includes. Forgetting to include important resources, such as OSGI-INF, is a common cause of problem for developers. PDE currently does this for the META-INF folder, which clearly is always required. Having this support for OSGI-INF would be helpful too.
For once I agree with you here with no qualms. I'm going to tag the fix. For those willing to do the fix, check out BuildErrorReporter ;)
What no qualms, surely not! Actually I'm not surprised that you're OK with this one, since you fixed bug 138260, which is similar to this one. Thanks Chris.
Created attachment 92070 [details] patch I believe we don't want to force users to include it even OSGI-INF/ folder it's empty.
(In reply to comment #3) > I believe we don't want to force users to include it even OSGI-INF/ folder it's > empty. hmm am faster than my keyboard :P should be "I believe we don't want to force users to include OSGI-INF/ if it's empty."
Created attachment 92106 [details] org.eclipse.pde.core.patch I used this patch to motivate me to do some refactoring here...
Thanks Jacek! > 20080310
Verified in I20080325-0100