Community
Participate
Working Groups
JAR files that are placed in the plugin directory are kept open by Eclipse. This makes it impossible to overwrite the JAR file with a new version. (BTW, nice that JAR files are picked up as well, much nice to deploy)
Why would you be willing to replace them while the system is running?
This is strange. If the plugin is a jar and the plugin is running then the jar is open as classes are being loaded. Perhaps if the plugin was somehow not activated then the jar should be closed.
We should understand what is going on here as it may reveal some problems / performance issues in the way we deal with jars.
This is somewhat related to bug 88915. The framework was not properly closing bundles jars when they were uninstalled or when the framework was being shutdown. But I'm still not sure I understand the scenario here, or how we could support it. The suggestion is that we should be able to replace binaries of bundles which the system is currently running from. We currently lazily open the jars on demand (when a class or resource is requested from the bundle). But once the jar is open for use there is no way you will be able to replace it. We are considering adding a timeout to the amount of time we keep jars open but this will still not give you the ability to replace the file until the timeout has been reached. Either way I don't see us doing anything for this in M6.
Slipping milestone.
removing milestone
Re-assigning to proper component...
... and closing. Its been over 2 years since the bug was opened and we still haven't defined a proper use case for this.