|Installable Unit Version - feature of plugin? [message #1004556]
||Wed, 23 January 2013 12:58
| Laura V
Registered: March 2012
I am creating an auto-update-on-startup mechanism in my e4 application, and to me it's not clear how the versioning mechanism works in equinox.
1) WHAT is exactly the version of an installable unit? Is it the version of the feature or the version of the plugin in the feature? I tried debugging equinox code, turns out InstallableUnit.setVersion is used by InstallableUnitDescription.setVersion, which has no reference anywhere. When / by what does the version of the IU get set?
2) is it absolutely necessary to have features in order to use p2?
Quoting Lars Vogel's simple tutorial:
"The update and installation of functionalities with p2 is based on Features projects. In the terminology of p2 these features are installable Units"
That means IU version = feature version
But according to equinox wiki:
"As the name implies,IUs describe things that can be installed, updated or uninstalled. They do not contain the actual artifacts but rather essential information about such artifacts (e.g., names, ids, version numbers, dependencies, etc) and are not aware about what they deliver. They describe things. They are NOT the things. So for example an IU for a bundle is NOT the bundle. The bundle is an "artifact". "
Now that's pretty abstract and confusing.
Thanks a lot for your answer
Powered by FUDForum
. Page generated in 0.02463 seconds