Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arichiardi/babashka-repros
Reproducing issues with babashka
https://github.com/arichiardi/babashka-repros
Last synced: 22 days ago
JSON representation
Reproducing issues with babashka
- Host: GitHub
- URL: https://github.com/arichiardi/babashka-repros
- Owner: arichiardi
- Created: 2022-10-20T18:19:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T23:32:15.000Z (11 months ago)
- Last Synced: 2024-10-22T13:56:29.993Z (2 months ago)
- Language: Clojure
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Babashka Repros
A repository dedicated to reproducing [babashka](https://github.com/babashka/babashka) bugs.
## How to repro
```shell
clojure -T:build uber
bb -jar target/bb-repro.jar --main foo.main/-main
```Uncomment `build.clj` line 36 in order to see the following error at runtime:
```bash
Clojure tools not yet in expected location: /home/app/.deps.clj/1.11.1.1435/ClojureTools/clojure-tools-1.11.1.1435.jarDownloading https://github.com/clojure/brew-install/releases/download/1.11.1.1435/clojure-tools.zip to /home/app/.deps.clj/1.11.1.1435/ClojureTools/clojure-tools.zip
Unzipping /home/app/.deps.clj/1.11.1.1435/ClojureTools/clojure-tools.zip ...
Successfully installed clojure tools!Exception in thread "main" java.io.IOException: Cannot run program "/usr/lib/jvm/java-11-openjdk-11.0.22.0.7-2.el8.x86_64/bin/java" (in directory "jar:file:/app/upgrade-scripts/cardiodi-scripting.jar!/META-INF"): error=2, No such file or directory
at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089)
at babashka.process$process_STAR_.invokeStatic(process.cljc:367)
at babashka.process$shell.invokeStatic(process.cljc:648)
at babashka.impl.deps$add_deps$fn__27336.invoke(deps.clj:100)
at borkdude.deps$_main.invokeStatic(deps.clj:1052)
at borkdude.deps$_main.doInvoke(deps.clj:882)
```