Community
Participate
Working Groups
When we build eclispe RTP against the 3.7RC2 version of the eclipse p2 repo I noticed the warning: [WARNING] Could not read bundle entry /home/hmalphettes/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.registry/3.5.100.v20110502/org.eclipse.equinox.registry-3.5.100.v20110502.jar!/runtime_registry_compatibility.jar http://download.eclipse.org/eclipse/updates/3.7milestones/S-3.7RC2-201105191138/plugins/org.eclipse.equinox.registry_3.5.100.v20110502.jar And indeed it does not contain a runtime_registry_compatibility.jar although it does mention it in the manifest: Bundle-ClassPath: runtime_registry_compatibility.jar, . I have not faced any problem at runtime so far that would be related to this.
This jar is provided by the org.eclipse.core.runtime.compatibility.registry fragment bundle. Not having the jar just means you are missing some old deprecated APIs from core.runtime. I am guessing this warning comes from PDE. Moving it there for confirmation. But I don't think there is anything to fix here since it is just a warning, and one that we likely do not want to remove because it could indicate a real issue for other cases.
I think this is UI's warning
The warning comes from tycho (the set of maven plugins to build with p2). You can see it here: Open https://hudson.eclipse.org/hudson/job/rtp-packages/148/consoleFull The search for "[WARNING]" It sounds like this is expected, so I would move this bug to tycho or mark it as WONTFIX. Thanks for your attention.
This messages warns about missing Bundle-ClassPath entries. Such entries could either be a placeholder for a "patch" fragment (see [1]) or it could be an indication of a problem with the bundle. Tycho can't tell the two apart and issues the warning. I do agree the message can be confusing, so feel free to reopen the bug if you can suggest a better approach. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=126687#c9
Since missing entries on the Bundle-ClassPath are explicitly allowed by the OSGi spec (see discussion on TYCHO-577 [1]), Tycho shouldn't issue a warning in this case. Therefore I've changed the severity of that message to debug in commit e39cf27. [1] https://issues.sonatype.org/browse/TYCHO-577?focusedCommentId=128918&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_128918