Skip to content
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

Fix Maven launch config to build SWT binaries #1167

Conversation

fedejeanne
Copy link
Contributor

@fedejeanne fedejeanne commented Apr 11, 2024

The path was broken since the projects got moved:

image

But now the path can found:

image

Also refresh the workspace after running:

image

Adapt the documentation accordingly.

Copy link
Contributor

github-actions bot commented Apr 11, 2024

Test Results

   299 files  ±0     299 suites  ±0   6m 25s ⏱️ +57s
 4 101 tests ±0   4 093 ✅ ±0   8 💤 ±0  0 ❌ ±0 
12 215 runs  ±0  12 140 ✅ ±0  75 💤 ±0  0 ❌ ±0 

Results for commit 5c58eb5. ± Comparison against base commit ee7eda5.

♻️ This comment has been updated with latest results.

@fedejeanne fedejeanne force-pushed the bugs/build_swt_maven_launch_broken branch from 0b04a03 to 4f042a1 Compare April 11, 2024 11:49
@fedejeanne fedejeanne changed the title Change base directory of mvn launch config to build SWT binaries Fix Maven launch config to build SWT binaries Apr 11, 2024
Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @fedejeanne for this fix.
I have a few suggestions below but none of them are blockers.

* On the Targets tab check the build_libraries target (it should be the only one check for just the natives).
* On the JRE tab select "Run in the same JRE as the workspace"
* In Eclipse, open the _Run Configurations_ dialog:
* Run the *Maven* launch configuration called `Build-SWT-native-binaries-for-running-platform`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this works for all platform I think it would be best to add this either to the general Readme.md in this project or to the CONTRIBUTING.md in the repo root. The reference to it could then also be removed from the Readme.linux.md.

@HannesWell
Copy link
Member

Thanks @fedejeanne for the update, it looks good.
Do you also want to move the documentation of the Build-SWT-native-binaries-for-running-platform or should we leave that for a follow up?
Any way, please squash your changes into one commit, then it is ready for submission in my opinion.

@fedejeanne
Copy link
Contributor Author

@HannesWell I was testing the run configuration in Linux and Mac at home and couldn't make the time to merge yet. I'll squash and merge today and leave the documentation for a follow up 🙂

Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Thanks!

@fedejeanne fedejeanne force-pushed the bugs/build_swt_maven_launch_broken branch from 5c58eb5 to 0d5c6f3 Compare April 13, 2024 08:19
- Change base directory of launch config
- Activate the option "Refresh" in launch config

Co-authored-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
@fedejeanne fedejeanne force-pushed the bugs/build_swt_maven_launch_broken branch from 0d5c6f3 to 2ca9f2b Compare April 13, 2024 08:21
@fedejeanne fedejeanne merged commit 6ebc3e2 into eclipse-platform:master Apr 13, 2024
6 of 8 checks passed
@fedejeanne fedejeanne deleted the bugs/build_swt_maven_launch_broken branch April 13, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants