-
Notifications
You must be signed in to change notification settings - Fork 186
Configure SWT build scripts for 4.36 #1873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure SWT build scripts for 4.36 #1873
Conversation
|
I am getting below error on windows, linux platform @HeikoKlare @HannesWell |
|
Something seems to have changed in the binaries build. The Line 377 in 1bc7548
But the native build append that revision. That's why the expected library name does not match the actual one. Library names (Windows example):
|
|
No matter what caused this, I would be in favor of using consistent library version naming always having a revision suffix starting with |
HannesWell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do i have to do any additional changes for this task(or did anything changed recently which i am not aware of). Last time i have done only these changes for 4.35 -> #1618
The 'trick' is that a version zero is never published because as soon as this is build the revision is incremented by one, since this is a change in the native source-code. If you look at the build jars in Jenkins you can see that:

The increment just doesn't happen for a local build respectively in the GH workflows.
If you look at the commit of that previous PR (26abd14)
You can see that it immediately is succeeded by
a6b8fe7
So this change is perfectly fine.
That being said, I think Heiko's suggestion also make sense.
Test Results 96 files ±0 96 suites ±0 3s ⏱️ ±0s For more details on these errors, see this check. Results for commit baa0959. ± Comparison against base commit 6171056. ♻️ This comment has been updated with latest results. |
f650587 to
a6ca3dd
Compare
Updated Library.java as per the suggestion. Thanks alot. |
| /* No "r" until first revision */ | ||
| if (REVISION > 0) version += "r" + REVISION; //$NON-NLS-1$ | ||
| //if (REVISION > 0) version += "r" + REVISION; //$NON-NLS-1$ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is not correct:
- The revision must remain, it should only also be added for revision "0" (i.e., the
ifshould be removed). - The comment should be adapted to conform to the code.
For the sake of comprehensibility, I would be in favor of putting this change at least into a separate commit with a proper commit description as it is independent from configuring build scripts for the release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah will do it, had the same thought in my mind before doing this way, since discussed in this issue - did it in the same pr. Let me separate it out.
|
Please note that this is blocking Ist IBuild and master opening. |
|
As Hannes mentioned, we should probably just merge the original change as it was (since it will work fine) and potentially change the |
a6ca3dd to
c426f5f
Compare
c426f5f to
baa0959
Compare
|
Since Hannes already approved that this change is correct in its current state, I would merge now. Any objections, @deepika-u? |
Please go ahead, indeed i was waiting for your reply...... and was away for lunch. |
|
Thanks alot. |
|
Bundle versions have not been bumped yet, thus the build fails and updated binaries are not generated. |
Configure SWT build scripts for 4.36
Fixes eclipse-platform/eclipse.platform.releng.aggregator#2855