| Summary: | Better diagnostics of package uses conflicts | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Tillmann Seidel <tseidel> |
| Component: | Framework | Assignee: | equinox.framework-inbox <equinox.framework-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | beyhan.veliev, glyn.normington, l.kirchev, markus.tiede, nico.rogasch, thatnitind, tjwatson, udo.hafermann |
| Version: | unspecified | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Tillmann Seidel
This Bug is open for almost 2 years now. Is anybody thinking about fixing it? I just had a frustrating search through masses of package dependencies and finally found all package conflicts in my enterprise application, where a better diagnostic could have done it in 5 minutes. While googling the issue I found masses of people who complained with the same problem and several guides to help find the cause, that all pointed at the pittyfull diagnostics of Equinox OSGI, so why has this bug such minor attention? Note that Virgo has quite sophisticated support for analysing uses constraint failures from Equinox. One possibility is to port that code into Equinox. Another possibility for certain users is to run the Virgo kernel in place of Equinox and get those diagnostics now. (In reply to comment #2) > Note that Virgo has quite sophisticated support for analysing uses constraint > failures from Equinox. One possibility is to port that code into Equinox. > Another possibility for certain users is to run the Virgo kernel in place of > Equinox and get those diagnostics now. Thanks for the tip. I know that Felix apparently also provides better diagnostics, but porting my code over to some different OSGI engine wasn't an option for me, first cause I don't want to spend the effort and second because I'm working in a enterprise application development project where software usage is more restrictive. Which brings me to another thought: if somebody spend the effort to let Eclipse Virgo do it, why can't Eclipse Equinox? (In reply to comment #3) > Which brings me to another thought: if somebody spend the effort to let Eclipse > Virgo do it, why can't Eclipse Equinox? Equinox can and should provide better diagnostics. Virgo spent a lot of time to provide better diagnostics and I would love to be able to bring some of their concepts (or code?) into the framework to provide similar diagnostics directly from the framework. But we need help, anyone willing to contribute here? If someone steps forward, I'm happy to provide pointers to the relevant code in Virgo. This issue also hit me today - I added a few more information on how to debug the OSGi resolve here [1]. This might be helpful until this enhancement gets implemented. [1] bug 407730 comment 16 Wouldn't https://bugs.eclipse.org/bugs/show_bug.cgi?id=421604 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=420067 address this issue? Thanks! Yes, I'm marking as a duplicate of bug 420067 since that is where the trace option is implemented for Luna: org.eclipse.osgi/resolver/uses See bug 420067 comment 10 *** This bug has been marked as a duplicate of bug 420067 *** |