leiningen Questions
0
I have both clojure-1.4.0 and clojure-1.5.0 installed and working correctly. In my various project.clj files, I can set one or the other as a dependency, and leiningen picks up the stated version c...
1
Solved
I'm not sure why but when I enter the REPL through $ clojure or $ lein repl, >(clojure-version) says '1.2.1'. I want it to say '1.5'.
Version 1.5 works fine in my projects managed by lein. I ju...
2
Solved
I'm running Debian Wheezy, openjdk-7-jre, clojure 1.4.0 and leiningen-1.7.1, all installed from official repo.
So I ran
lein new hello
cd hello
lein run -m hello.core
and saw an error:
Excepti...
1
I have client-server app (backend in Clojure+ring, frontend done with ClojureScript) and there are unit tests, but only for backend.
Each time when I run 'lein test' lein have to compile ClojureS...
Metropolis asked 11/1, 2013 at 10:34
2
Solved
I've created a simple example using:
%> lein new lein-check
I've only modified the code so that it now has a 'main':
(defproject lein-check "0.1.0-SNAPSHOT"
:description "FIXME: write descr...
2
Solved
I used to like to include all of clojure.contrib, and require all the libraries. This makes find-doc useful as a discovery tool.
Nowadays (clojure 1.4) clojure.contrib is split into many sub-libra...
Coit asked 2/12, 2012 at 19:48
3
Solved
When lein sets up a project, a core.clj file is created along with other directories and files. I want to know if I can split core.clj's content off to another source file under
../myproj/src/myp...
6
Solved
I'm looking at switching my projects build from Ant to leiningen and wanted to know if there is a Clojure IDE (intellij, eclipse, netbeans) for which the "build" and "debug" buttons will still work...
Wheeze asked 26/1, 2010 at 0:31
1
Solved
Getting an Emacs / Clojure environment up and running, I'm now running into behavior that I'm not sure is normal. In particular, when I start an nREPL and compile (C-c C-k) my buffer, I get dropped...
1
Solved
in the sample project,
https://github.com/technomancy/leiningen/blob/master/sample.project.clj
on line 217, there is a directive for including non-code files :
:resource-paths ["src/main/resour...
1
Solved
I was actually quite happy with using vim + lein repl, but since so many people keep saying that Emacs is the way to go when it comes to Lisps, I've decided to give it a try. The problem is now set...
1
Solved
I am trying to set up a lein build environment on Windows 7 haven copied files from a successful build environment on Linux. I have maven and the jdk installed along with lein.
HOME points to c:\...
1
I have a web service written in Clojure which is continuously delivered. To allow our automated deployment tools to know which version of the codebase has been deployed, the web service should prov...
Complainant asked 26/9, 2012 at 10:40
1
Solved
I would like to change the location of the .m2 folder where leiningen stores all dependencies (on Linux).
Is it possible to achieve this?
I've checked the source code of the lein.sh script and al...
4
Solved
I'm a bit surprised at the sheer number of articles / blogs / questions / answers about Clojure mentioning Maven.
In about ten years working as a Java dev, working on both desktop apps and webapp...
2
Solved
I am using lein2. I would like to load some ns by default when the repl starts. Is it possible to either specify in project.clj the ns that should be loaded, when lein2 repl is executed for that pr...
2
Solved
In Leiningen versions 1.x.x I was able to define a lein foo task valid only in a single project by putting the following in that project's project.clj:
(defproject tester "0.1.0-SNAPSHOT"
:descri...
3
Solved
After installing leiningen with this script https://raw.github.com/technomancy/leiningen/preview/bin/lein , I can use the repl by typing lein repl, so I think the clojure has already been installed...
1
Solved
How can I test for a function that throws an expected exception? Here is the function that throws the exception:
(defn seq-of-maps?
"Tests for a sequence of maps, and throws a custom exception if...
1
Solved
I just added clojure.core.cache 0.6.1 to my project, did a lein deps, followed the very short and clear example here: https://github.com/clojure/core.cache and it just flat out does not work.
Exam...
5
Solved
Short version: errors when running M-x slime-connect or M-x clojure-jack-in when using lein swank to start the swank server.
I'm using emacs 24.0.50.1 on Ubuntu 10.10. I've installed the following...
3
Solved
I am getting compile errors while running lein run on my Noir project. It was working, and then suddenly it stopped working. My suspicion was that the error is connected with trying to include [org...
1
Solved
Leiningen 2 doesn't seem to use the localRepository setting in my ~/.m2/settings.xml file, it just dumps everything it downloads into ~/.m2/repository regardless.
How can I tell leiningen 2 where ...
3
Solved
I'm new to clojure. I have a jar file I want to play with in a clojure repl, but I've failed to do so with leiningen 2.
I have tried placing the jar file in src/myjar.jar and also in src/org/mydom...
2
Solved
I use Leiningen to manage my CLJ project. When I want to wrap a Java library, I found that I have to introduce it to my project firstly.
How can I use a library in a Maven repo in my project?
© 2022 - 2024 — McMap. All rights reserved.