Hello devs,

after a series of PRs and the release of NB 22, we are now able to use 'javac.release' instead of source/target for NetBeans development.

Jan's PR #7201 was the last missing piece in the puzzle which does now also allow using the javac release option in modules which enable nb-javac during build/testing, since it enabled loading javac from classpath instead of the discontinued boot classpath.

This does also mean that 99% of all modules won't need manual setting of 'OpenIDE-Module-Java-Dependencies: Java > xx' in their manifest anymore, since this is done automatically if it wasn't set. Most manifest entries were already removed and converted into the 'javac.release' project property.

Please note that without NetBeans 22 you will see error markers in the editor - this shouldn't influence the build however.

best regards,

michael


refs:

https://github.com/apache/netbeans/issues/6817 original issue / general info

https://github.com/apache/netbeans/pull/7188 build tweaks part 1

https://github.com/apache/netbeans/pull/7247 use release

https://github.com/apache/netbeans/pull/7201 build tweaks part 2



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to