6

I'm building a desktop Java application, the build is running from 20 minutes and it keeps going... and people still mocks C++ for being slow in building

Comments
  • 4
    Honestly the more I learn about Java the less I like it. I prefer c# as a language anyway, but the whole thing about running code in a virtual machine for every open app is just madness imo
  • 2
    I work with Java almost every day for my job, here is the reality: Modern Java actually pretty great and with Gradle you get fast build times.

    But if you are stuck with old java versions and slow build systems.. You have my condolences
  • 0
    @TheMatter13 At least is not Electron in which the runtime is so damn huge and comphrends things which even Electron developers didn't know
  • 0
    @nemetepst Yeah, I imagine which the fault is on the build system and not on Java, in theory Maven (the build system which I have to use) supports incremental builds but for some reason in this project that feature don't work and each build takes the same 20 minutes.
  • 0
    @DEVil666 Maven can be a bit weird sometimes, make sure your configuration is correct.

    I lost countless hours with broken builds because there was something wrong with configuration but no errors/warnings appeared. (Maven sometimes hides errors even if you add flags to show them.. :/)

    My last problem with Maven was a typo in a pom.xml file, got some generic dependency error and that was it, took me five days to figure out.. Thankfully I don't have to work with maven anymore, we migrated all java code-base to Gradle a while back.
Add Comment