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

Issue with [:repl-options :init] composability #21

Closed
gfredericks opened this issue Sep 27, 2015 · 5 comments
Closed

Issue with [:repl-options :init] composability #21

gfredericks opened this issue Sep 27, 2015 · 5 comments

Comments

@gfredericks
Copy link
Contributor

See technomancy/leiningen#1997.

gfredericks added a commit to gfredericks/whidbey that referenced this issue Sep 27, 2015
@greglook
Copy link
Owner

Hmm - I tried adding this, but I get the following exception when loading the REPL:

Exception in thread "main" java.lang.ClassNotFoundException: whidbey.repl, compiling:(/tmp/form-init7248396931002679838.clj:1:1052)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:6730)
        at clojure.lang.Compiler.analyze(Compiler.java:6524)
        at clojure.lang.Compiler.analyze(Compiler.java:6485)
        at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5861)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:6723)
        at clojure.lang.Compiler.analyze(Compiler.java:6524)
        at clojure.lang.Compiler.analyze(Compiler.java:6485)
        at clojure.lang.Compiler$VectorExpr.parse(Compiler.java:3195)
        at clojure.lang.Compiler.analyze(Compiler.java:6526)
        at clojure.lang.Compiler.analyze(Compiler.java:6485)
        at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5861)
        at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5296)
        at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3925)
        at clojure.lang.Compiler.analyzeSeq(Compiler.java:6721)
        at clojure.lang.Compiler.analyze(Compiler.java:6524)
        at clojure.lang.Compiler.eval(Compiler.java:6779)
        at clojure.lang.Compiler.eval(Compiler.java:6772)
        at clojure.lang.Compiler.eval(Compiler.java:6771)
        at clojure.lang.Compiler.load(Compiler.java:7227)
        at clojure.lang.Compiler.loadFile(Compiler.java:7165)
        at clojure.main$load_script.invoke(main.clj:275)
        at clojure.main$init_opt.invoke(main.clj:280)
        at clojure.main$initialize.invoke(main.clj:308)
        at clojure.main$null_opt.invoke(main.clj:343)
        at clojure.main$main.doInvoke(main.clj:421)
        at clojure.lang.RestFn.invoke(RestFn.java:421)
        at clojure.lang.Var.invoke(Var.java:383)
        at clojure.lang.AFn.applyToHelper(AFn.java:156)
        at clojure.lang.Var.applyTo(Var.java:700)
        at clojure.main.main(main.java:37)

The same setup without a wrapping vector works fine however.

johannesloetzsch added a commit to johannesloetzsch/whidbey that referenced this issue Feb 25, 2019
@johannesloetzsch
Copy link

Hmm - I tried adding this, but I get the following exception when loading the REPL:

Exception in thread "main" java.lang.ClassNotFoundException: whidbey.repl, compiling:(/tmp/form-init7248396931002679838.clj:1:1052)

You need (require '[whidbey.repl]) in the namespace defined in project.clj as :repl-options {:init-ns …}

Please check my working example

@johannesloetzsch
Copy link

I just realized that #28 fixes this too :)

johannesloetzsch added a commit to johannesloetzsch/ultra that referenced this issue Feb 26, 2019
johannesloetzsch added a commit to johannesloetzsch/whidbey that referenced this issue Feb 27, 2019
johannesloetzsch added a commit to johannesloetzsch/whidbey that referenced this issue Mar 4, 2019
@johannesloetzsch
Copy link

I think this Issue can be closed, since master now contains a working solution.

Feel free to try my example at #29 and merge or ignore it as you prefere.

@gfredericks
Copy link
Contributor Author

I don't have the bandwidth right now to verify that it's fixed, so I don't mind if the issue is closed.

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

3 participants