On Tue, 29 Apr 2025 at 00:15, Michael Bien <mbie...@gmail.com> wrote: > If the ant projects use the default JDK, they could delegate the > source/target values like: > > javac.source=${default.javac.target} > javac.target=${default.javac.target} ... > In practice, leaving the language level undefined would be essentially a > broken build. > Maven 4 for example would fail the build (and give some tips how to fix it) > while > maven 3 would attempt building with java 8 language level which would usually > lead to a failure too (but can be more confusing).
Probably a bad idea, and the IDE gets a little confused when not using the default JDK, but on Maven you could do similar with - <properties> <maven.compiler.release>${java.specification.version}</maven.compiler.release> </properties> Best wishes, Neil --------------------------------------------------------------------- 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