Subject: Re: bug#53292: [PATCH] build: clojure-build-system: Support compiling Java sources.
From: Ludovic Courtès <[email-masked]>
To: Reily Siegel <[email-masked]>
Cc: Maxime Devos <[email-masked]>, [email-masked]
Date: Mon, 24 Jan 2022 10:19:47 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Reily Siegel <[email-masked]> skribis:

> * guix/build/clojure-build-system.scm (compile-java): New variable.
> * guix/build/clojure-build-system.scm (build): Copy classes compiled from Java
> and optionally Java sources to the final jar.
> * guix/build/clojure-build-system.scm (%standard-phases): Add compile-java
> phase before build.
> * guix/build/clojure-utils.scm (%java-source-dirs): New variable.
> * guix/build/clojure-utils.scm (%java-compile-dir): New variable.
> * guix/build-system/clojure.scm (clojure-build): Include %java-source-dirs and
> %java-compile-dir.
> * guix/build-system/clojure.scm (builder): Include %java-source-dirs and
> %java-compile-dir.

I tweaked the commit log (no need to repeat file names) and applied it.

Thank you, and thanks Maxime!

Ludo’.