Fork me on GitHub
#deps-new
<
2023-11-24
>
Sam19:11:38

I'm considering creating a PR for the app template, showing how to create java files:

- Create mynewapp/java/src/mynewapp/FindMe.java
- Add how to compile it to build.tmpl
- Add how to call it to main.tmpl
- ...
Is this within the scope of deps-new? I always end up having to add some java files and it would be nice if everything was just there.

seancorfield19:11:37

It's out of scope for the template and deps-new in general, but would be a good addition to http://clojure-doc.org I think somewhere...

seancorfield19:11:26

Either as part of the tools.build cookbook or possibly even a separate cookbook on polyglot projects?

Sam19:11:05

When you say tools.build cookbook, do you mean this? https://clojure-doc.org/articles/cookbooks/cli_build_projects/ That would be a fine way to add it. When I look at the toc to the right my eyes are dragged towards "Java Interop". Maybe the java interop could link to the right section in the tools.build chapter?

seancorfield20:11:24

Sure, sounds like a reasonable approach. If you want to draft up a PR we can go back and forth in a review on it. If you have questions you need answering first, feel free to open up an issue to get clarifications.

Sam20:11:15

Thank you, I'll write a PR when I get the chance and we can discuss there. Thanks for all you do for the clojure community!

1