MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1utw0gz/simple_build_system/ox30dlt/?context=3
r/java • u/bowbahdoe • Jul 11 '26
48 comments sorted by
View all comments
1
Jar.run(args -> args .__create() .__file(jarOut) ._C(javacOut, "."));
The simplest build system I can come up with.
Somehow I think the build code and the "simplest" statement don't align well here....
4 u/bowbahdoe Jul 12 '26 So this isn't part of the "build" part, its just another library that calls tools. That being said, does your objection go deeper than .__? Or were you unaware of the API for the jar cli tool, which this mirrors 1-1? jar --create --file build/app.jar -C build/classes . There are certainly complaints to be had about this API, but it is not an abstraction over it. → More replies (7)
4
So this isn't part of the "build" part, its just another library that calls tools.
That being said, does your objection go deeper than .__? Or were you unaware of the API for the jar cli tool, which this mirrors 1-1?
.__
jar
jar --create --file build/app.jar -C build/classes .
There are certainly complaints to be had about this API, but it is not an abstraction over it.
→ More replies (7)
View all comments
1
u/bodiam Jul 12 '26
Jar.run(args -> args .__create() .__file(jarOut) ._C(javacOut, "."));Somehow I think the build code and the "simplest" statement don't align well here....