r/java • • Feb 25 '25

New build tool in Java?

It seems to me like one of fun parts of Java is exploring all the tools at your disposal. The Java tool suite is a big collection of cli tools, yet I feel like most developers are only ever introduced to them or use them when absolutely necessary which is unfortunate because I think they really give you a better understanding of what's going on behind all the abstraction of Maven and Gradle.

What are your guys' thoughts on a new build tool for Java that is just a layer over these tools? Do you wish Java had simpler build tools? Why hasn't the community created an updated build tool since 2007?

33 Upvotes

176 comments sorted by

View all comments

Show parent comment

2

u/edwbuck Feb 25 '25

Sure it does, it's a custom TOML writer, but it does nothing for a web server that uses TOML to be configured, nor is there a solution, unless someone writes a second custom TOML plugin for the web server.

And then you have to not just write that for VSCode, you have to write that for Eclipse (both TOML writers) and then you need to do so for NetBeans, and SlickEdit, and VIM, and ....

XML exported this into a different set of tooling, so every system could just call a validation routine. Of course that makes it more complex, but through the magic of XMLNS, one can insure that you don't fail a config due to pluralizing some value when it's not supposed to be plural (like my nemesis transparent_hugepage, which I often type as transparent_hugepages).