Fork me on GitHub
#cider
<
2015-10-23
>
cfleming01:10:07

@bozhidar: @benedek: I managed to work around the problem, phew. I override the dynapath defaults to seal all URLClassLoaders, which means I can use them for the whole shim hierarchy and clojure.java.classpath is happy.

cfleming01:10:32

@bozhidar: I really need to write that blog post just for when I need to come back to maintain this code in a couple of months.

piotrek06:10:16

I am still learning emacs with cider and found an issue with using projectile-find-test-file for boot-clj based projects. With lein based projects it works fine. I don’t know the internals but I suspect that cider is somehow hooking into projectile to provide such project metadata for clojure projects.

piotrek06:10:25

Any hints where I should start looking?

bozhidar06:10:51

actually, projectile doesn’t use anything from cider

bozhidar06:10:02

I’m guess we just didn’t add support there for boot projects

bozhidar06:10:30

just check the code of projectile-find-test-file - it’s pretty straightforward for anyone with Lisp knowledge

bozhidar06:10:02

(or you can report a ticket, but I’m not be able to pay it much attention soon)

piotrek06:10:09

ok, will do, thanks

benedek06:10:23

@cfleming nice! +1 for that post pls ;)

boz18:10:13

@piotrek: I’m new to this too, but I think you could add build.boot to the list in projectile.el … look for defcustom projectile-project-root-files … mine’s from elpa so changing it probably isn’t proper...

boz18:10:41

also, looks like if the project root has a .git dir then projectile will recognize it

pandeiro18:10:40

@boz: @piotrek yeah I think you want this:

(eval-after-load "projectile"
  '(add-to-list 'projectile-project-root-files "build.boot"))

pandeiro18:10:12

In your ~/.emacs.d/init.el or wherever

piotrek20:10:03

@boz Thanks - I have already submitted a pull request https://github.com/bbatsov/projectile/pull/886

piotrek20:10:29

@pandeiro: Thanks - I can use it until my pull request is accepted

piotrek20:10:33

@boz: projectile was detecting my project (probably as a git project) but it couldn’t find test files