Comments (8)
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.
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.
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.
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.
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.
@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.
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.
Believe this to be fixed.
from leiningen.
Related Issues (20)
- Hitting a wall trying to package lein HOT 4
- Documentation "lein help new" does not list templates HOT 3
- (Uber)jar name from environment variable HOT 2
- Trouble starting REPL on ubuntu 18.04 HOT 9
- Discrepancy in pom.xml dependencies and uberjar included dependencies HOT 12
- mktemp failed because it makes assumptions about /tmp HOT 9
- Bump Clojure to 1.11 HOT 1
- Looking to Build Leiningen from Source HOT 6
- lein deps hangs and exits due to StackOverflowError HOT 2
- Moving the repository to a new host HOT 13
- Lein uberjar producing different results to jar in different environments ( Ubuntu vs. OS X ) HOT 5
- Leiningen Homebrew 2.9.10 Upgrade Failing HOT 1
- Use :check-paths in check task if specified HOT 4
- CVE-2022-36033: Upgrade jsoup to version 1.15.3 HOT 3
- Leiningen 2.9.1 with java 7 HOT 2
- Add more versatile dependency/plugin resolution options (issue with plugin resolution order) HOT 1
- test-paths are included on classpath when building uberjar HOT 4
- changing the error message if a parent pom file is missing HOT 1
- Global :exclusions in profile do not apply to root :dependencies HOT 6
- A way to pass a profile to generated jar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leiningen.