Community
Participate
Working Groups
Build Identifier: Tycho 0.12.0 We ran across an build error (compiler could resolve classes) because one used bundle declared a "Bundle-Classpath" (lower-case p), but Tycho treats attribute names in a case-sensitive way while the spec says that attribute names are case insensitive. The main culprit seems to be the class DefaultBundleReader which converts the main attributes to Properties before looking at the header. Reproducible: Always Steps to Reproduce: 1. Create a bundle with an additional Jar on its classpath 2. Use wrong upper/lower-case spelling 3. Try to compile against that bundle where a class of the additional Jar is involved.
Created attachment 201621 [details] simple patch proposal, not tested, no automatic test.
fixed with commit 7f57426 we now consistently use class org.eclipse.osgi.framework.util.Headers for parsing MANIFESTs which provides case-insenstive getters for manifest headers.