leiningen Questions
1
Solved
I tried some clojure tutorial. I copied dependencies part to my project.clj. And I made a mistake. Instead of "1.6.0" version of clojure I put "1.7.0". You can see all 'dependencies' here:
:depen...
4
Solved
In my Windows 7 (64 bits) environment, I have quite a few JVM available:
C:\Program Files (x86)\Java\j2re1.4.2_12\bin\client\jvm.dll
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
D:\programs...
Motmot asked 20/10, 2014 at 14:41
3
Solved
Luminus right now is creating a profiles.clj with this content:
{:provided {:env {;;when set the application start the nREPL server on load
:nrepl-port "7001"
:database-url "jdbc:mysql://localho...
1
Is there a way to define rake like tasks within a project for leiningen.
I want to define a custom task in leiningen project.clj which will invoke a function in my project namespace
2
In clojure, the answers to How to list the functions of a namespace? are useful if I have a namespace in mind, in particular (ns-imports 'my-package) can tell me about Java code that has been impor...
Barkley asked 17/4, 2015 at 4:17
3
While this may appear subjective, there is a concrete example that I'd like help resolving. This is related to an issue with the Overtone Clojure library https://github.com/overtone/overtone/issues...
1
Solved
I would like to format my logs differently depending on whether my code is being run from a REPL or if I'm running the compiled jar.
Is there any simple way to do this? I was thinking maybe Leinin...
1
Solved
When I type (clojure-version) into my repl in LightTable, I get "1.5.1" as output. Is there any way to upgrade to 1.6.0?
I am assuming that it is drawing the Clojure version from Leiningen (2.3.4 ...
Asta asked 7/6, 2014 at 6:51
2
Solved
From the Luminus documentation I see there's an option called h2 when creating a Luminus app:
lein new luminus guestbook +h2
How can I see all the available options?
3
While benchmarking a Clojure app and trying to pin down performance problems, I noticed this peculiar behavior: even when the entire program is written in Java, when launched from Leiningen it seem...
1
Solved
When I start up my current project with lein ring server and try to connect to it from Emacs via cider, I get the following warning:
; CIDER 0.8.2 (Java 1.7.0_51, Clojure 1.6.0, nREPL 0.2.6)
WARN...
3
I would like to search and install clojure dependencies from the commandline.
Does there exists a tool/leiningen command/lein change script?/... that can:
search for clojure libraries online
rew...
4
I want to configure Lein so that I see a colored REPL, like Emacs' nREPL. How can I do this?
I couldn't find any help on Google. Do I need to learn Bash scripting first?
1
I'm trying to build the hello-world example for compojure and it's failing to start the ring task.
$ lein version
Leiningen 1.7.1 on Java 1.7.0_65 OpenJDK 64-Bit Server VM
$ lein new compojure te...
1
Solved
Can anyone tell me how lein deps works? If lein finds the dependency, which is the required version for a project, in ~/.m2, will lein still download the same package again?
1
Solved
I'm trying out Cursive, a Clojure IDE on top of IntelliJ. The Leiningen console works, but prints a "path not found" error.
I can't seem to figure out what it can't locate. Leiningen appears to ...
Triaxial asked 2/1, 2015 at 23:23
1
Solved
Where does lein store the various Jars it downloads from maven when I run:
lein deps
Thanks
2
Solved
In Emacs, when using clojure-mode, I ought to be able to launch a REPL with C-c C-z. Whenever I try, though, I get the error:
Searching for program: no such file or directory: lein
I have lein i...
2
Solved
I cannot get leiningen to download the datomic-pro peer library. I have the following setup:
~/.lein/credentials.clj.gpg
{#"my\.datomic\.com" {:username "..."
:password "..."}}
And the project...
2
Solved
I have a project set up with leiningen called techne. I created a module called scrub with a type in it called Scrub and a function called foo.
techne/scrub.clj:
(ns techne.scrub)
(deftype Scrub...
2
Solved
If I call
lein trampoline repl
Leiningen launches its own JVM process which then starts a separate JVM for the repl and quits. However calling the default
lein repl
leaves two JVMs running. I...
1
Solved
I have this Clojure code that starts and executes a function.
(import [java.lang Thread])
(defn with-new-thread [f]
(.start (Thread. f)))
(with-new-thread (fn [] (print "hi")))
However, when I ...
4
I got a Rasperry Pi 512 MB version (late 2012) and installed the Developer Preview of Java SE 8 for ARM on it. When I create a new Clojure project with Leiningen and launch the nREPL by doing lein ...
Butchery asked 26/12, 2012 at 11:48
2
Solved
I'm trying to figure out the relationship between ClojureScript crossovers and the cljx pre-processor.
Are they designed to be used together? Or rival solutions to the same problem?
Is one becomi...
Arapaima asked 28/10, 2014 at 18:45
2
Solved
How do I get leiningen project's root directory at runtime?
My problem is that I want to place my sqlite file at the root directory, and access it via source code at different source file.
I don'...
© 2022 - 2024 — McMap. All rights reserved.