On Tue, 29 Apr 2025 at 00:15, Michael Bien <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists