Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366120

Summary: jetty bundles 8.1.0.RC1 are lexicographically lower than jetty bundles 8.1.0.SNAPSHOT
Product: [RT] Jetty Reporter: Kim Moir <kim.moir>
Component: buildAssignee: Hugues Malphettes <hmalphettes>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: unspecified   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kim Moir CLA 2011-12-08 17:03:46 EST
because RC1 < SNAPSHOT 

It would be better to have the bundle qualifiers as v+number or something similar so that we don't run into problems where the newer bundles aren't installed.
Comment 1 Jesse McConnell CLA 2011-12-12 11:02:13 EST
hm...typically we don't expose people to SNAPSHOT so I don't think this should be a large issue, it  just came up this time because of the build issues we have been having on hudson due to things like https://bugs.eclipse.org/bugs/show_bug.cgi?id=365727

I don't forsee our changing this anytime soon but I'll assign to hugues for his thoughts

hugues?
Comment 2 Hugues Malphettes CLA 2011-12-12 19:38:37 EST
Sorry about the mishap Kim.
As Jesse mentioned, I did the quickest build I could come up with and uploaded it when I found out that I could not build on hudson: this was really a one shot and I did not foresee the consequences.

Also note that it is rare that we end-up using an 'RC*' build of jetty in our p2-repositories. Pretty much as rare as uploading a SNAPSHOT.
We almost always end-up with a v${Timestamp} qualifier which is lexicographically higher than both SNAPSHOT and RC*.

Nevertheless if we ever end-up uploading such a build again we will work on a more suited qualifier.
Note that it is a noticeably more difficult operation as tycho enforces that the qualifier matches the pom.xml last segment of the version: we in fact end-up having to set the maven's version for the entire project to generate something else than the SNAPSHOT.
Comment 3 Jesse McConnell CLA 2011-12-20 17:07:03 EST
marking wont fix as we don't plan on being in this situation again, if we are we will do our best to honor the intent of this issue though

thanks!
jesse