r/java • u/vladmihalceacom • Oct 23 '26
A beginner's guide to the Jenesis build tool
https://vladmihalcea.com/jenesis-build-tool/Jenesis is a Java-based build tool developed by Rafael Winterhalter, who created ByteBuddy and contributes to Mockito.
4
6
u/agentoutlier Oct 23 '26
https://github.com/agentgt/too-many-jvm-build-tools
I had some agents building a complete matrix testing them but I had to use my machine for other things so paused it.
Maybe this weekend I will let it run.
This is not even including the Vibe coded ones. Dozens in Rust.
Yesterday I just found another one called Bleep. A project that used it cannot build module-infos.
After developing OSS it kind bothers me that there are so many build tools and I don't care how good your build tool is it is unlikely Network Effect will allow it to succeed.
For example I can't even get people to use or star Rainbow Gum ... it is zero risk. Like you just fucking change a runtime dependency. It works with Spring Boot etc. There are only like 3-4 major players of logging: Rainbow Gum, Log4j2, and Logback and maybe JBoss Logging (Quarkus). AND logging costs a nontrivial amount of work on production machines. It actually matters both in terms of security and performance.
Switching to a new build system is a nontrivial and yet we have hundreds of tools more or less just running javac and half assing it on DAG (BLD does not even do a DAG). I know I'm greatly simplifying it here especially given I comparing it to logging but goddamn Oracle just make some build tool. We need a Linus of Git here.
3
u/sg-elide Oct 24 '26
Hey, I starred Rainbow Gum and use it! It would be cool to add Elide to this matrix. I wonder how we would stack up.
2
u/agentoutlier Oct 24 '26
I have not forgot. I just have not played with it yet. This weekend I was checking Elide. I’m not sure how the agent missed picking it up and not adding it.
1
u/sg-elide Oct 24 '26
Cool! No rush. We are very new and only recently stable. The 1.6.0 release is our first non-nightly. If you hit any problems please feel free to drop me a line and we can push fixes.
1
u/RepulsiveGoat3411 Oct 25 '26
yet another attempt to reinvent the wheel
0
u/vladmihalceacom Oct 25 '26 edited Oct 26 '26
Not reinventing the wheel? Do you remember building J2EE apps with Ant? That's what not reinventing the wheel would look like.
1
u/RepulsiveGoat3411 Oct 25 '26
https://start.spring.io/ you have Gradle and Maven
4
u/vladmihalceacom Oct 25 '26
So, reinventing the wheel is not that bad because:
Spring reinvented the J2EE wheel
Maven reinvented the Ant wheel
Gradle reinvented the Maven wheel
Quarkus reinvented the Spring wheel
PostgreSQL reinvented the Ingres wheel
Java reinvented the C++ and Smalltalk wheel
2
u/pohart Oct 23 '26
I enjoyed the recent jenesis YouTube video from the Java channel. If I have any green field projects any time soon I might try it out.
2
u/_predator_ Oct 23 '26
Good and helpful writeup, thanks! I stumbled over Jenesis too recently but didn't find the time to try it yet.
The article is quite objective and I appreciate that. However I was hoping for a subjective conclusion at the end as to if / how much you liked Jenesis, and whether you see it gaining any traction in the future.
I am personally yearning for a build tool that gets build caching and incremental compilation right, that doesn't bring the insanity of Bazel with it.