News for hackers. Stuff that matters.
Re:J2ObjC is a command-line tool that translates Java to Obj... by passerby1 on Wednesday November 24, 2021 @07:25AM (#29329296)
I've never used bazel before. Is it that bad?
Re:J2ObjC is a command-line tool that translates Java to Obj... by grishka on Wednesday November 24, 2021 @07:36AM (#29329358)
Doesn't matter whether it's good or bad, I already have an existing Maven project I would like to try this in. Besides, Maven and Gradle are simply what I'm used to when working with Java projects. Yet another build system is about the last thing I need. I consider building Java to be a fully solved problem.
Re:J2ObjC is a command-line tool that translates Java to Obj... by lbhdc on Wednesday November 24, 2021 @09:42AM (#29330399)
I use it in a few projects, all are polyglot monorepos. I think bazel really shines in that setting. I have one tool to interact with my codebase. I use it to manage all build, test, and deploy, but also code generation, running local dev servers. I think its worth the hassle of setting it up for large multi language projects.
Re:J2ObjC is a command-line tool that translates Java to Obj... by kaba0 on Wednesday November 24, 2021 @07:32AM (#29329340)
As far as I know it’s not necessarily bad, it’s just not standard, especially not for java projects, so it may require strange file hierarchies.
Re:J2ObjC is a command-line tool that translates Java to Obj... by lbhdc on Wednesday November 24, 2021 @09:49AM (#29330478)
Bazel doesn't enforce a structure. Bazel makes you add WORKSPACE and BUILD files throughout your project to describe your targets and their dependencies.