|class moved from plugin A to plugin B, and OSGi cannot find it [message #1767853]
||Tue, 11 July 2017 15:42
| Dinko Ivanov
Registered: July 2009
I have a feature-based RCP product, and I'm using the p2 API for distributing updates.
I notice that if I move certain class from plugin A to plugin B then after update I'm getting class-not-found-error. I guess OSGi keeps some cache and still looks for the class in plugin A.
The only fix I found so far is to use "-clean" option.
Is there a better way to avoid this situation? Is there a performance penalty during startup if I keep the -clean option in the distributed product?
Powered by FUDForum
. Page generated in 0.02112 seconds