babashka 2026-10-12

You can now install antq via bbin: https://github.com/clj-commons/antq#babashka-bbin

🌟 3
🎉 5

That doesn't seem to work for me:

(!2010)-> bbin install io.github.clj-commons/antq antq

Starting install...

bin   version    location
────  ─────────  ───────────────────────────────────────
antq  2.11.1276  

Install complete.


(2026-10-12.14:08:46)-(~)
(!2011)-> antq
----- Error --------------------------------------------------------------------
Type:     java.io.FileNotFoundException
Message:  Could not locate clj_commons/antq.bb, clj_commons/antq.clj or clj_commons/antq.cljc on classpath.
Location: NO_SOURCE_PATH:1:10

----- Context ------------------------------------------------------------------
1: (ns user (:require [clj-commons.antq])) (apply clj-commons.antq/-main *command-line-args*)
            ^--- Could not locate clj_commons/antq.bb, clj_commons/antq.clj or clj_commons/antq.cljc on classpath.

----- Stack trace --------------------------------------------------------------
babashka.main/exec/fn--32431/load-fn--32442 - <built-in>
user                                        - NO_SOURCE_PATH:1:10

hmm I can repro. let me check

This should be antq.core:

(def script-main-opts ["-m" "clj-commons.antq"])

With that fixed, I get this:

antq
----- Error --------------------------------------------------------------------
Type:     java.lang.Exception
Message:  Unable to resolve classname: org.apache.maven.model.Model
Location: /home/sean/.gitlibs/libs/io.github.clj-commons/antq/0e8d29f47977179bb076a74a0ee7ff576b0281fd/src/antq/util/maven.clj:14:3

----- Context ------------------------------------------------------------------
10:    [ :as io]
11:    [clojure.string :as str]
12:    [clojure.tools.deps.util.maven :as deps.util.maven]
13:    [clojure.tools.deps.util.session :as deps.util.session])
14:   (:import
      ^--- Unable to resolve classname: org.apache.maven.model.Model

ok, try this: bbin install io.github.clj-commons/antq --latest-sha

The release doesn't include your bbin changes

it's because antq doesn't have a new tag yet

So the readme lags behind until we have that

Bingo! That works!

Nice. I can retire my outdated.sh script 🙂

Should we now use io.github.clj-commons/antq?

For on the github page, it still shows com.github.liquidz/antq

no, that coordinate is just a way for bbin to find the right config

git deps rely on (io|com).github.<org>/<repo> to deduce the URL -- unless you specify it explicitly -- but that doesn't always match the group/artifact ID.

(group/artifact ID seems increasingly weird in the Clojure world!)

bbin install <url> has nothing to do with deps.edn :)

Right, but I assume it is still deducing the git URL from the coords?

(deps-new does the same, BTW)

or maybe "nothing" is too strong, I bet @rads can clarify beter how it works