replikativ / datahike

A fast, immutable, distributed & compositional Datalog engine for everyone.
https://datahike.io
Eclipse Public License 1.0
1.62k stars 95 forks source link

[Bug]: Unable to use Datahike as a git library #651

Closed groundedsage closed 10 months ago

groundedsage commented 10 months ago

What version of Datahike are you using?

0.6.1552

What version of Java are you using?

openjdk 20.0.1 2023-04-18

What operating system are you using?

MacOS

What database EDN configuration are you using?

{:store {:backend :mem :id "schemaless"} :schema-flexibility :read}

Describe the bug

When using Datahike as a git library the following error occurs.

Error building classpath. The following libs must be prepared before use: [io.replikativ/datahike]

This means experimental branches cannot be tested within a project easily. Without this one must pull down Datahike and build it. Then use {:local/root "../datahike-lib"}.

What is the expected behaviour?

Using Datahike as a git library without any further steps.

How can the behaviour be reproduced?

https://clojure.org/guides/deps_and_cli#_using_git_libraries

TimoKramer commented 10 months ago

Error building classpath. The following libs must be prepared before use: [io.replikativ/datahike] Sometimes it's good to actually read the docs and run the prep step with clj -X:deps prep. I mean it actually says what you should do. It's working fine for me. Sharing the link again for reading: https://clojure.org/guides/deps_and_cli#prep_libs

groundedsage commented 10 months ago

You are right. Got it working now.