Updating configuration when an Eclipse plugin is updated

12 Views Asked by At

Does IProjectNature.configure() get called when an Eclipse plugin is updated? Is there a better method that will get executed when a plugin gets updated?

This information seems to be missing from the documentation I've read. Due to the lack of a similar question on SO I'm adding this even though it's easily testable.

1

There are 1 best solutions below

1
On BEST ANSWER

No, it does not. If you need to know when your plug-in changes, store the version information in the plug-in's private state location and read it in, preferably not on the UI thread, when the plug-in activates. It would be good to know why you think you need to know this, since it's usually not a useful piece of information on its own.

JavaDoc