Coder Social home page Coder Social logo

Comments (8)

swannodette avatar swannodette commented on July 24, 2024

Clarification this is for when you are running lein from checkout. I'm curious as to why "lein-stable swank" properly sets the classpath and "lein swank" from checkout does not. Some what frustrating as this issue is related to Issue 4. Because of this I'm in the following situation-

lein swank - improperly set classpath Exception
lein-stable swank - OS X exception

from leiningen.

swannodette avatar swannodette commented on July 24, 2024

Ok, figured this one out myself. You need to compile lein-swank and use it instead of the one that gets pulled down via deps.

from leiningen.

pjlegato avatar pjlegato commented on July 24, 2024

I'm having what may be a similar problem."lein swank" does not include the project's src/ directory in the classpath (both lein and lein-stable.) "lein repl" does include the src/ dir.

from leiningen.

pjlegato avatar pjlegato commented on July 24, 2024

Just tried it with the latest lein-swank from git's head, no difference. "lein swank" doesn't include the project's src/, "lein repl" does.

from leiningen.

pjlegato avatar pjlegato commented on July 24, 2024

After trying many things, I finally gave up and inserted a manual (add-classpath) call into my code to add the src/ dir.

from leiningen.

swannodette avatar swannodette commented on July 24, 2024

@pjlegato you need to create an uberjar of lein-swank yourself using your checkout of lein (not stable). replace this newly created jar with the one that appears in your checkout libs directory.

from leiningen.

mtnygard avatar mtnygard commented on July 24, 2024

Adding to @swannodette's instructions, when using lein-swank from latest checkout, install it to your local repo using "mvn install", and be sure to remove the older lein-swank jar from your local leiningen install itself! It will come first in classpath and override your new one.

from leiningen.

technomancy avatar technomancy commented on July 24, 2024

Believe this to be fixed.

from leiningen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.