Versioning for RCP update [message #1714494] |
Fri, 13 November 2015 03:26  |
Eclipse User |
|
|
|
Hello NG,
i'm trying to add update functionality to my application.
though it seems that i have no errors in code, the application still does report 'no updates available'
so my next (and last) guess is, that my version numbering is not correct.
i do build my repository and application with tycho/maven
so i try to figure out how the versioning in feature.xml,pom.xml and MANIFEST.MF must be done.
first i show you a simplified structure of my application
Quote:
rcp.application.product (pom=1.0.0.SNAPSHOT, product=1.0.0.qualifier)
application.feature (pom=1.0.0.SNAPSHOT, feature=1.0.0.qualifier)
plugin(s) (pom=1.0.0.SNAPSHOT, MF=1.0.0.qualifier)
addon1.feature (pom=1.0.0.SNAPSHOT, feature=1.0.0.qualifier)
plugin(s) (pom=1.0.0.SNAPSHOT, MF=1.0.0.qualifier)
addon2.feature (pom=1.0.0.SNAPSHOT, feature=1.0.0.qualifier)
plugin(s) (pom=1.0.0.SNAPSHOT, MF=1.0.0.qualifier)
rcp.application.parent (ALL pom.xml refer to this) (pom=1.0.0.SNAPSHOT)
so i tried with all pom/MF/feature xml/MF with qualifier/snapshot
update says: no updates available.
do i have to remove the qualifier/snapshot on pom/MF/feature, if so on which?
do i need to include the update plugin in each feature, or only the main feature?
UPDATE:
i also tried
Quote:
rcp.application.product (pom=1.0.0, product=1.0.0)
application.feature (pom=1.0.0, feature=1.0.0)
plugin(s) (pom=1.0.0.SNAPSHOT, MF=1.0.0.qualifier)
addon1.feature (pom=1.0.0, feature=1.0.0)
plugin(s) (pom=1.0.0.SNAPSHOT, MF=1.0.0.qualifier)
addon2.feature (pom=1.0.0, feature=1.0.0)
plugin(s) (pom=1.0.0.SNAPSHOT, MF=1.0.0.qualifier)
rcp.application.parent (ALL pom.xml refer to this) (pom=1.0.0)
same result, no updates available.
[Updated on: Fri, 13 November 2015 03:51] by Moderator
|
|
|
|
Re: Versioning for RCP update [message #1714712 is a reply to message #1714655] |
Mon, 16 November 2015 02:40  |
Eclipse User |
|
|
|
.qualifier should get replaced by build date and time! (this works fine at building plugins.)
thanks for pointing me towards this, because the qualifier did NOT change for the product, even when i modified the product file itself!
i had to raise the version number by Hand!
after doing so, also the qualifier changed (wtf?)
|
|
|
Powered by
FUDForum. Page generated in 0.03569 seconds