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

Java Platform Libraries: Support source archives with multiple modules #7932

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

matthiasblaesing
Copy link
Contributor

The OpenJFX SDK and OpenJDK itself provide src.zip files, where the source is not located at the toplevel directory, but an intermediate level with one folder per module is used.

Closes: #7888

@matthiasblaesing matthiasblaesing added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) JavaFX [ci] enable JavaFX job ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Nov 1, 2024
@matthiasblaesing matthiasblaesing added this to the NB25 milestone Nov 1, 2024
@matthiasblaesing matthiasblaesing changed the title Support source archives with multiple modules Java Platform Libraries: Support source archives with multiple modules Nov 2, 2024
@matthiasblaesing
Copy link
Contributor Author

This was successfully tested, so I intent to merge this sometime next week.

@mbien
Copy link
Member

mbien commented Nov 2, 2024

you don't want to target delivery for smaller fixes like this? We still at rc 1 I believe.

The OpenJFX SDK and OpenJDK itself provide src.zip files, where the
source is not located at the toplevel directory, but an intermediate
level with one folder per module is used.

Closes: apache#7888
@matthiasblaesing
Copy link
Contributor Author

@mbien I still think, NB would be better served with quicker releases, so I try to limit changes to delivery to a minimum. Anyway, I rebased my change onto delivery, will give it a quick smoketest and update this.

@matthiasblaesing matthiasblaesing changed the base branch from master to delivery November 3, 2024 20:04
@matthiasblaesing matthiasblaesing modified the milestones: NB25, NB24 Nov 3, 2024
@matthiasblaesing
Copy link
Contributor Author

Rebased and retargeted onto/to delivery. Adjusted milestone accordingly.

@mbien
Copy link
Member

mbien commented Nov 3, 2024

I still think, NB would be better served with quicker releases, so I try to limit changes to delivery to a minimum.

will test and review this later so it won't slow the release train down.

I personally think that small fixes are ok during stabilization phase if we can say with some confidence that they are low risk.

Copy link
Member

@mbien mbien left a comment

Choose a reason for hiding this comment

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

makes sense. Created an Ant Library from the JavaFX 23 gluon SDK and the sources were resolved.

This code path runs only for ant projects, right (e.g tools -> libraries)? (the "attach sources" button on the editor javap preview does seem to work in NB 23 maven projects already - tried with zulu JavaFX JDK after removing its sources first)

Wondering if we should rename Tools -> Libraries into Ant Libraries at some point?

@mbien mbien added the Ant [ci] enable "build tools" tests label Nov 4, 2024
@mbien
Copy link
Member

mbien commented Nov 4, 2024

restarting CI with build-tools job enabled for more ant coverage

@apache apache locked and limited conversation to collaborators Nov 4, 2024
@apache apache unlocked this conversation Nov 4, 2024
@neilcsmith-net
Copy link
Member

neilcsmith-net commented Nov 4, 2024

I personally think that small fixes are ok during stabilization phase if we can say with some confidence that they are low risk.

@matthiasblaesing small fixes are desirable. The release process is time-based and small fix PRs have no effect on how quickly the release happens*. See https://cwiki.apache.org/confluence/display/NETBEANS/Pull+requests+for+delivery

* assuming that they don't need to be reverted and that the RCs are happening on schedule - we should be heading to RC3 this week already.

@mbien
Copy link
Member

mbien commented Nov 4, 2024

The release process is time-based and small fix PRs have no effect on how quickly the release happens*

@neilcsmith-net they can delay things though if a release manager sees PRs which are not reviewed targeting delivery. So i think it is a good idea to try to get it reviewed quickly too.

But given the current situation where RCs are delayed due to availability reasons of the release team (i guess), we may as well use the time to add more (reviewed) PRs before RC 2 is built.

@neilcsmith-net
Copy link
Member

they can delay things though if a release manager sees PRs which are not reviewed targeting delivery

@mbien not as originally intended. RCs are meant to be weekly, and the cut-off should be clear and stuck to. PRs to delivery that have not passed review should miss the cut, not be waited for (with discretion for high priority things occasionally).

@ebarboni ebarboni merged commit 64d64d8 into apache:delivery Nov 5, 2024
74 checks passed
@matthiasblaesing matthiasblaesing deleted the add_sources_modules branch November 30, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ant [ci] enable "build tools" tests ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) JavaFX [ci] enable JavaFX job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding JavaFX sources to Ant Library
4 participants