Skip to content

NBM project properties window: evaluate javac.release properties#9323

Open
mbien wants to merge 1 commit intoapache:masterfrom
mbien:nb-project-javac-eval
Open

NBM project properties window: evaluate javac.release properties#9323
mbien wants to merge 1 commit intoapache:masterfrom
mbien:nb-project-javac-eval

Conversation

@mbien
Copy link
Copy Markdown
Member

@mbien mbien commented Apr 4, 2026

NBM project properties window now evaluates the javac.release property to get its value.

this should allow something like:

javac.release=${default.javac.release}

in the [module]/nbproject/project.properties file (assuming it can be resolved)

tested:

added default.javac.release=18 to nbbuild/user.build.properties and updated a module like described above. This got picked up by both the build and the project properties window UI.

this might be the easiest way to set a default value for modules. I tried to find a way to allow removal of the property entirely (as signal to use the default), but I couldn't get that to work.

NBM project properties window now evaluates the javac.release property
to get its value.

this should allow something like:
javac.release=${default.javac.release}
(assuming it can be resolved)
@mbien mbien added this to the NB30 milestone Apr 4, 2026
@mbien mbien added Ant [ci] enable "build tools" tests build ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Apr 4, 2026
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 build ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant