Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nested libspecs #399

Closed
borkdude opened this issue Sep 8, 2020 · 0 comments
Closed

Add support for nested libspecs #399

borkdude opened this issue Sep 8, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@borkdude
Copy link
Collaborator

borkdude commented Sep 8, 2020

It's not a feature I recommend to use, but it will help using several libs from the past:

borkdude@MBP2019 /tmp $ export BABASHKA_CLASSPATH=`clj -Sdeps '{:deps {cpath-clj/cpath-clj {:mvn/version "0.1.2"}}}' -Spath`
borkdude@MBP2019 /tmp $ bb -e "(require '[cpath-clj.core :as cp])"
----- Error --------------------------------------------------------------------
Type:     java.lang.IllegalArgumentException
Message:  No matching clause: [io :as io]
Location: cpath_clj/core.clj:1:1

----- Context ------------------------------------------------------------------
1: (ns cpath-clj.core
   ^--- No matching clause: [io :as io]
2:   (:require [clojure.java
3:              [io :as io]
4:              [classpath :as cp]])
5:   (:import [java.net URL URI]
6:            [java.util.jar JarFile]

----- Stack trace --------------------------------------------------------------
user - <expr>:1:1
@borkdude borkdude added the enhancement New feature or request label Oct 17, 2020
borkdude added a commit that referenced this issue Nov 10, 2020
borkdude added a commit to babashka/babashka that referenced this issue Nov 10, 2020
borkdude added a commit to babashka/babashka that referenced this issue Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant