On Sat, 21 Oct 2023 at 12:09, Juan Miguel Escribano <juan.es...@gmail.com> wrote: > > Hello! > > To be brief. > > My system: > MacBook Pro 16”, Apple M2 pro > Macos Sonoma 14.0 > Product Version: Apache NetBeans IDE 19 > Java: 21.0.1; OpenJDK 64-Bit Server VM 21.0.1+12-LTS > Runtime: OpenJDK Runtime Environment 21.0.1+12-LTS > > My problem: > I have an Ant project that Netbeans cannot compile. Error message: BUILD > FAILED (no more) > > But I can compile the project from Terminal with: > > ./ant -f /Users/juan/NetBeansProjects/contaes4BG > -Dnb.internal.action.name=build jar > > Please, any ideas where to start looking for the error?
Firstly try 20-rc1 - https://github.com/apache/netbeans/discussions/6581 NetBeans 19 doesn't strictly support Java 21. There is also an Ant upgrade in NB20. Be good to make sure this works in NB20. Does the project have compile on save enabled? If it doesn't work on NB20, please open an issue with all relevant information. https://github.com/apache/netbeans/issues Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists