Re: Ant build of NetBeans RCP with --release
On Tue, 30 Apr 2019 at 18:37, Neil C Smith wrote: > So, the problem is that this works fine from the command line, but > fails from the IDE with the message "error: release version 8 not > supported". JFTR it looks like any use of the javac Ant task with the release attribute fails inside the IDE unless the task is set to fork a separate VM. Replicated with a minimal Ant project. Any idea whether this is expected or a bug? 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
Ant build of NetBeans RCP with --release
Hi All, I'm currently working on updating PraxisLIVE to use NB11 as a base. I was looking at making it possible (not for releases for now) to compile on JDK11 using the --release flag. At the moment I've just added that in as an attribute for the javac task in the harness common.xml Might be a useful PR for those of us stuck using Ant? But ... So, the problem is that this works fine from the command line, but fails from the IDE with the message "error: release version 8 not supported". Same Ant, and as far as I can tell same compiler arguments. Any idea if there's something obvious I'm missing here? Thanks and 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