Tech

Development environment: NetBeans 12.5 fixes problems with Gradle and Maven

The NetBeans team, which is part of the Apache Software Foundation (ASF), has released version 12.5 of the development environment of the same name. Almost 130 pull requests were processed for the update, which concern numerous bug fixes and improvements around Java as well as the build tools Gradle and Maven.

The recently officially released Java 17 LTS can be used in NetBeans, but the integration is still experimental – Java 8 and 11 are still the preferred LTS versions for productive use. In addition, NetBeans 12.5 offers a few specific improvements: For example, there is a new window with corresponding information for checking valid values ​​of regular expressions. The LSP server (Language Server Protocol) has been expanded to include declarative Java tips and instead of .java files, .class files are now preferentially executed if the relevant class already exists.

When working with the Maven build tool, developers can now also handle projects in an https namespace. A problem with the Maven Web Application has also been fixed, which in connection with the Payara Micro Maven Tools could lead to cleaned or newly created projects being made available twice.

Updates of the Gradle LSP now allow configurations to be carried out directly in the build tool, for example to implement the --continuousMode to activate. On the other hand, to avoid the potentially irritating behavior of the debugger in the --continuous-Mode can be controlled, certain actions can now be switched off with the Gradle Action Providers. In this way, you can prevent the debugger from restarting the application every time after backing up any project files.




(Bild: Apache Software Foundation)

The development environment NetBeans looks back on an eventful history and has its roots as well as one of the largest competitors IntelliJ IDEA in the Czech Republic. There students developed the basis for the establishment of the NetBeans company in 1996 with the Xelfi project. In 1999 Java mother Sun Microsystems took over the company.

Finally, when Oracle took over Sun, the development environment ended up with the database manufacturer, who handed it over to the Apache Software Foundation in 2016. There it went through the probationary phase known as the incubator, which it successfully exited in April 2019, shortly after the release of NetBeans 11.0.

Despite well-known competitors such as IntelliJ IDEA and the Eclipse IDE, NetBeans has a loyal user base. One of the most prominent representatives is likely to be Java father James Gosling, who is responsible for the current release on Twitter.

Support for the Micronaut JVM framework, which has been available to developers since NetBeans 12.4, has also been expanded. From now on, among other things, Micronaut’s automatic restart function can be used mn:run for Maven builds and projects for JDK 16 can now also be created with the framework.

An overview of all other important innovations in NetBeans 12.5 provides the post on the official Apache NetBeans blog. A complete overview can be found in the project’s GitHub repo, which does not have a new LTS release in the current year. Until according to the current roadmap expected in February 2022 NetBeans 13 with long-term support version 12 will remain the official LTS release.


(map)

To home page

.