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

Building driver fails with "All dirs should be absolute" #1

Open
huksley opened this issue Jul 27, 2022 · 0 comments
Open

Building driver fails with "All dirs should be absolute" #1

huksley opened this issue Jul 27, 2022 · 0 comments

Comments

@huksley
Copy link

huksley commented Jul 27, 2022

Clojure CLI version 1.11.1.1149
openjdk 11.0.16 2022-07-19

WARNING: Specified aliases are undeclared and are not being used: [:dev]
Downloading: org/postgresql/postgresql/42.3.1/postgresql-42.3.1.jar from central
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/Users/ruslan/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.2/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/Users/ruslan/.m2/repository/org/slf4j/slf4j-nop/1.7.32/slf4j-nop-1.7.32.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
Build driver :sample-driver (edition = :oss, options = {:project-dir ".", :target-dir "./target"})
  Clean
    Delete ./target/jar if exists
      Don't need to delete ./target/jar, file does not exist.
    Delete ./target/sample-driver.metabase-driver.jar if exists
      Don't need to delete ./target/sample-driver.metabase-driver.jar, file does not exist.
  Copy :sample-driver source files
Step failed: Assert failed: All dirs should be absolute, got: ["./src" "./resources"]
(every? u/absolute? dirs)
{:via
 [{:type java.lang.AssertionError,
   :message "Assert failed: All dirs should be absolute, got: [\"./src\" \"./resources\"]\n(every? u/absolute? dirs)",
   :at [build_drivers.copy_source_files$copy_source_files_BANG_$fn__4720 invoke "copy_source_files.clj" 10]}],
 :trace
 [[build_drivers.copy_source_files$copy_source_files_BANG_$fn__4720 invoke "copy_source_files.clj" 10]
  [metabuild_common.steps$do_step invokeStatic "steps.clj" 85]
  [metabuild_common.steps$do_step invoke "steps.clj" 79]
  [build_drivers.copy_source_files$copy_source_files_BANG_ invokeStatic "copy_source_files.clj" 7]
  [build_drivers.copy_source_files$copy_source_files_BANG_ invoke "copy_source_files.clj" 6]
  [build_drivers.build_driver$build_driver_BANG_$fn__7955 invoke "build_driver.clj" 31]
  [metabuild_common.steps$do_step invokeStatic "steps.clj" 85]
  [metabuild_common.steps$do_step invoke "steps.clj" 79]
  [build_drivers.build_driver$build_driver_BANG_ invokeStatic "build_driver.clj" 29]
  [build_drivers.build_driver$build_driver_BANG_ invoke "build_driver.clj" 14]
  [build_drivers.build_driver$build_driver_BANG_ invokeStatic "build_driver.clj" 17]
  [build_drivers.build_driver$build_driver_BANG_ invoke "build_driver.clj" 14]
  [clojure.lang.AFn applyToHelper "AFn.java" 154]
  [clojure.lang.AFn applyTo "AFn.java" 144]
  [clojure.lang.Var applyTo "Var.java" 705]
  [clojure.core$apply invokeStatic "core.clj" 667]
  [clojure.core$apply invoke "core.clj" 662]
  [clojure.run.exec$exec invokeStatic "exec.clj" 48]
  [clojure.run.exec$exec doInvoke "exec.clj" 39]
  [clojure.lang.RestFn invoke "RestFn.java" 423]
  [clojure.run.exec$_main$fn__205 invoke "exec.clj" 180]
  [clojure.run.exec$_main invokeStatic "exec.clj" 176]
  [clojure.run.exec$_main doInvoke "exec.clj" 139]
  [clojure.lang.RestFn invoke "RestFn.java" 397]
  [clojure.lang.AFn applyToHelper "AFn.java" 152]
  [clojure.lang.RestFn applyTo "RestFn.java" 132]
  [clojure.lang.Var applyTo "Var.java" 705]
  [clojure.core$apply invokeStatic "core.clj" 667]
  [clojure.main$main_opt invokeStatic "main.clj" 514]
  [clojure.main$main_opt invoke "main.clj" 510]
  [clojure.main$main invokeStatic "main.clj" 664]
  [clojure.main$main doInvoke "main.clj" 616]
  [clojure.lang.RestFn applyTo "RestFn.java" 137]
  [clojure.lang.Var applyTo "Var.java" 705]
  [clojure.main main "main.java" 40]],
 :cause "Assert failed: All dirs should be absolute, got: [\"./src\" \"./resources\"]\n(every? u/absolute? dirs)"}
    Step "Copy :sample-driver source files" failed with error "Assert failed: All dirs should be absolute, got: [\"./src\" \"./resources\"]\n(every? u/absolute? dirs)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant