see this stack overflow topic.
https://www.google.com/search?q=apache+ant+set+compiler+options&oq=&gs_lcrp=EgZjaHJvbWUqCQgAECMYJxjqAjIJCAAQIxgnGOoCMgkIARAjGCcY6gIyCQgCECMYJxjqAjIJCAMQIxgnGOoCMgkIBBAjGCcY6gIyCQgFECMYJxjqAjIJCAYQIxgnGOoCMhUIBxAuGCcYrwEYxwEYugIY6gIYjgUyCQgIECMYJxjqAjIJCAkQIxgnGOoCMgkI
Thank you Pieter for your prompt response.
Would you be able to advise me as to how to set this value using ANT?
Thanks in advance.
On 2024-10-31 5:48 a.m., Pieter van den Hombergh wrote:
--release 17
--
*/ArbolOne ™/*
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volun
in your build file (if maven, pom.xml) specify *--release 17* instead of*
--source 17* if you want 17 as the compile and runtime target.
The setting is in the maven compiler settings plugin.
The easiest way to achieve that is setting the property in the properties
section of your pom file
In my Netbeans with spcs:
/Product Version: Apache NetBeans IDE 23 /
/Java: 22.0.2; Java HotSpot(TM) 64-Bit Server VM 22.0.2+9-70 /
/Runtime: Java(TM) SE Runtime Environment 22.0.2+9-70 /
/System: Linux version 6.1.0-26-amd64 running on amd64; UTF-8; en_CA (nb)/
I upgraded from OpenJDK 17, th