classpath icon indicating copy to clipboard operation
classpath copied to clipboard

Classpath/classloader/deps.edn related utilities

Results 9 classpath issues
Sort by recently updated
recently updated
newest added

This attempts to replace beholder with a `java.nio.file.WatchService` implementation to address the issues described in #7. I've kicked the tires on Windows and Linux aarch64, unable to test on Mac.

The default behaviors of https://github.com/nextjournal/beholder and https://github.com/gmethvin/directory-watcher cause watched folders to register watches on all subfolders recursively, and 'watching' a folder reads and hashes every file within it at startup...

enhancement
help wanted

I'm on a greenfield project where we've decided to use Polylith. It splits the project up in many sub-projects/components/etcetera, each with their own `deps.edn` files brought in in a hierarchical...

enhancement

After running `(watch-deps/start! {})` and then changing `deps.edn`, I don't see the printed message and the classpath-chain haven't changed. Some experimentation seems to indicate that beholder doesn't get any event....

We wrote some simple overlay filesystem over the filesystem & classpath-resources here: https://github.com/DomainDrivenArchitecture/cryogen-core/blob/master/src/cryogen_core/classpath_able_io.clj Are you interessed in refatoring out such a functionallity to your classpath?

I realise [`update-classpath!`](https://github.com/lambdaisland/classpath/blob/main/src/lambdaisland/classpath.clj#L263) can be used to achieve this, but it would be handy to have a dedicated fn in the `lambdaisland.classpath` ns that took a "deps map" (i.e. just...

documentation

I don't know exactly what the deal is with tools.deps and tools.deps.alpha. My knowledge of their inner-workings is limited. But classpath is reliant on `create-basis` `slurp-deps` from tools.deps.alpha. Do you...

I have two lines in `user.clj` to switch between my development and test environment when running tests in the repl: ``` (comment (licp/install-priority-loader! ["env/test" "env/test/resources"])) (comment (licp/install-priority-loader! ["env/development" "env/development/resources"])) ```...

After bumping jdk to 21 and a dependency (logback 1.5.X) to a version that uses virtual threads, I'm getting the following error when calling `licp/install-priority-loader!`: ``` java.lang.SecurityException: setContextClassLoader at java.base/jdk.internal.misc.CarrierThread.setContextClassLoader(CarrierThread.java:90)...