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

still having problems with lein modules with 0.1.64 #1112

Closed
henryw374 opened this issue Oct 22, 2015 · 4 comments
Closed

still having problems with lein modules with 0.1.64 #1112

henryw374 opened this issue Oct 22, 2015 · 4 comments
Milestone

Comments

@henryw374
Copy link

Hopefully this is pebkac, but my modules projects still not working.

when trying to run a local repl for the below example, (run nrepl with lein, choosing the sub-module), I get :

09:41:56 Error reading /dev/test-modules/sub_module/project.clj: Could not locate lein_modules/plugin__init.class or lein_modules/plugin.clj on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
09:41:58 Leiningen aborted: exit code 1: (show balloon)
09:42:04 Error running sub: Could not calculate REPL command

I tried adding the plugin to the dependencies as a hacky workaround, but that didnt help.

here is a simple set up to recreate:

in parent dir project.clj:

(defproject test-modules "0.1.0-SNAPSHOT"
  :plugins [[lein-modules "0.3.11"]]
  :modules {
            :versions { org.clojure/clojure "1.7.0" }
            })

in sub-module dir project.clj:

(defproject test-modules/sub-module "0.1.0-SNAPSHOT"
  :plugins [[lein-modules "0.3.11"]]
  :dependencies [[org.clojure/clojure _]
                 [lein-modules "0.3.11"]])
@cursive-ide
Copy link
Owner

Thanks for the repro case, I'll take a look. I've been testing 0.1.64 extensively with Immutant, which works fine. I'll see if I can find a problem with this example.

@cursive-ide
Copy link
Owner

I have a fix for this, I'll do a build shortly.

@cursive-ide
Copy link
Owner

This is fixed in 0.1.65, just released.

@cursive-ide cursive-ide added this to the 0.1.65 milestone Oct 22, 2015
@henryw374
Copy link
Author

cheers.

i hadn't seen your email about beta testing until today or i would have tried earlier.

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

2 participants