To compile https://github.com/borkdude/babashka, I first need to compile an uberjar from the source and its dependencies and compile the uberjar into a GraaVM binary. I will deal with GraalVM later. For now, I want to know how to create an eclass for clojure jars and clojure uberjars. clojure depends on spec.alpha and core.specs.alpha java packages to bootstrap itself from java. java-utils-2.eclass and java-pkg-simple.eclass seem relevant. In my theory, * Compile a list of java source files into class files with transitively calculated jar dependencies. * Put class files in a jar with a simple manifest at a specific place. * Compile a list of clojure source files with clojure jar with transitively calculated jar dependencies. * Put clojure class files in a jar with a simple manifest. * When you want to create an uberjar, extract transitive jar dependencies and the main jar into one spot and make a jar out of it.
(In reply to crocket from comment #0) > To compile https://github.com/borkdude/babashka, I first need to compile an > uberjar from the source and its dependencies and compile the uberjar into a > GraaVM binary. > > I will deal with GraalVM later. For now, I want to know how to create an > eclass for clojure jars and clojure uberjars. This website (https://bugs.gentoo.org/) is intended to be used as a public notification and commmunication system to report and fix bugs in Gentoo projects. It is not intended to serve as a forum (https://forms.gentoo.org/). Please use our forums to discuss your new eclass.