Skip to content

Comments

Enable multiview for XJB (JAXB customization files)#9030

Merged
matthiasblaesing merged 1 commit intoapache:masterfrom
matthiasblaesing:xjb_multiview
Nov 24, 2025
Merged

Enable multiview for XJB (JAXB customization files)#9030
matthiasblaesing merged 1 commit intoapache:masterfrom
matthiasblaesing:xjb_multiview

Conversation

@matthiasblaesing
Copy link
Contributor

Closes: #9008

@matthiasblaesing matthiasblaesing added this to the NB29 milestone Nov 21, 2025
@matthiasblaesing matthiasblaesing added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Nov 21, 2025
@mbien mbien added the XML label Nov 22, 2025
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.api.progress.nb</code-name-base>
Copy link
Member

Choose a reason for hiding this comment

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

is there a reason for adding progress.nb? I think all it uses is ProgressHandle which is org.netbeans.api.progress

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used the "search for dependency" feature. Might have added that.

Copy link
Member

Choose a reason for hiding this comment

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

ah I see. If I understood it correctly, there was an attempt to reduce the surface area of that API and split it in two (pre-apache, see linked commit in #8927).

org.netbeans.api.progress would be the minimal/toolkit independent API. If I see this correctly it would be sufficient for this module since it uses only ProgressHandle and nothing more advanced. I likely forgot to add it as direct dependency to this module since I had to fix some manually.

Copy link
Member

Choose a reason for hiding this comment

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

(its already a test dependency of xml.jaxb, which can be removed once its a compile dependency)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated in place. I don't plan to do another round.

Copy link
Member

Choose a reason for hiding this comment

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

well, now you removed it completely which is ok too I suppose ;)

what I tried to explain is that org.netbeans.api.progress.nb could be changed to org.netbeans.api.progress which was introduced as smaller API since https://github.com/emilianbold/netbeans-releases/commit/e7049cf98094ee5f0b7dea02c0c0e43e01e8da98

@matthiasblaesing matthiasblaesing merged commit 5e4b87c into apache:master Nov 24, 2025
35 checks passed
@matthiasblaesing matthiasblaesing deleted the xjb_multiview branch November 27, 2025 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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) XML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ctrl+F (Find) does not work in *.xjb files

2 participants