Questions tagged [boot-clj]

Boot is a Clojure build framework and ad-hoc Clojure script evaluator. Boot provides a runtime environment that includes all of the tools needed to build Clojure projects from scripts written in Clojure that run in the context of the project.

59 questions
11
votes
2 answers

Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.8.0

When copying a build.boot file from an old project to a new one I got the following error and found nothing on Google: Classpath conflict: org.clojure/clojure version 1.7.0 already loaded, NOT loading version 1.8.0
wizmer
  • 881
  • 1
  • 8
  • 23
7
votes
1 answer

Clojure: boot repl in a particular namespace

I have boot-clj installed and want to be able to edit a .clj file in an external editor and separately have a command line REPL running from which I can call the functions that I change in the .clj file. No special reloading commands should be…
Chris Murphy
  • 6,411
  • 1
  • 24
  • 42
4
votes
2 answers

How i can add github/local dependencies with Boot (clojure)

For instance i want to fork some existing clojar, extend it and use in my project. How i can do this w/o pushing to clojars/maven? Interested in both options: link to github and local path. Thanks! UPD What i want is to include some existing Clojure…
Kirill Salykin
  • 681
  • 6
  • 19
3
votes
1 answer

What is the meaning of "RELEASE" in Clojure boot-clj?

I have created a new Clojure boot-clj project using boot-new. In the 'build.boot' file I see the below line. [org.clojure/clojure "RELEASE"] What does the "RELEASE" mean in the above context? And what version that dependency points to? I don't see…
Kannan Ramamoorthy
  • 3,980
  • 9
  • 45
  • 63
3
votes
1 answer

Clojure pedestal.io code is not resolved in IntelliJ

I have a small application of Clojure and Pedestal that I grabbed from pedestal.io tutorial. It works fine in the terminal. When I open it in IntelliJ some "cannot be resolved" tips are appearing. And some code parts are getting a beige…
trzczy
  • 1,325
  • 2
  • 18
  • 43
3
votes
1 answer

Use boot-clj to Create Correct About Information

I'm using boot to build a Clojure&ClojureScript project. Obviously it depends on a lot of third party libraries with all their licenses. Most of these licenses require mentioning the copyright of the dependency in the resulting deliverable. I could…
Stefan Kamphausen
  • 1,615
  • 15
  • 20
3
votes
1 answer

Seeking simple workflow set-up for Clojure/boot

How do you set up boot so that: (a) all source files are in the current directory, (b) unit tests run every time a source file is changed, (c) the REPL refreshes definitions when source files containing them change? Specifically: What goes in…
Ben Kovitz
  • 4,920
  • 1
  • 22
  • 50
3
votes
0 answers

boot-clj: install uberjar in maven repository

Is is there a way to install an uberjar into a local maven repository? Would it genereally a good place to store them or would it better to keep uberjar builds in a seperate directory? I mean, I was thinking og having a uberjar and a regular jar for…
Anton Harald
  • 5,772
  • 4
  • 27
  • 61
3
votes
1 answer

What information is required in boot.properties?

I want to specify the Clojure version for my project that uses Boot. According to the Boot Wiki, the way to do this is by providing a value for BOOT_CLOJURE_VERSION in a boot.properties file in my project root. So I did that: $ cat…
Sam Estep
  • 12,974
  • 2
  • 37
  • 75
3
votes
2 answers

What is the idiomatic way to build to/move compiled Cljs to an arbitrary directory when using Boot?

I'm using ClojureScript, Boot and Boot-Cljs to build a Firefox Add-On. Firefox's Add-On SDK assumes a certain directory structure; in my case, I'll need a project-root/data directory, which will house my contentScriptFile. How should I go about…
pdoherty926
  • 9,895
  • 4
  • 37
  • 68
3
votes
1 answer

Boot: serve non-root directory from classpath in handler + cljs reload

I have tried to convert a leiningen project to boot: https://github.com/borkdude/lein2boot. It uses the serve task to serve a handler. The handler offers an API and also serves files. Using the reload task, I want to be able to reload javascript. I…
Michiel Borkent
  • 34,228
  • 15
  • 86
  • 149
2
votes
2 answers

How to define target env in compile time while building .cljs?

I want to compile my .cljs file for both browser and node.js environments, to get server side rendering. As I understand, there's no way to define cljs env in compile time with reader macro conditions like: #?(:clj ...) #?(:cljs ...) so, I can't…
zarkone
  • 1,335
  • 10
  • 16
2
votes
1 answer

using local Maven repository in boot Clojure

I'd like to use the local Maven repository (at ~/.m2/repository by default) to find a dependency for a Clojure project built by boot. I am quite certain that the dependency is in the repository: $ ls…
user1592772
  • 193
  • 1
  • 8
2
votes
2 answers

(boot (refresh)) => Can't set!: *e from non-binding thread

I've installed samestep/boot-refresh 0.1.0. In the boot REPL, when I change a source file and type: boot.user=> (boot (refresh)) I get: java.lang.IllegalStateException: Can't set!: *e from non-binding thread What am I doing wrong? Here's the full…
Ben Kovitz
  • 4,920
  • 1
  • 22
  • 50
2
votes
0 answers

ClojureScript + boot: make non-CLJSJS libs available to test code?

When using boot for ClojureScript projects, how does one make external non-CLJSJS JavaScript libraries available to test code (vs application code)? Application code can get access when it's included on the same HTML page as the library. (With…
user1011471
  • 1,090
  • 2
  • 14
  • 34
1
2 3 4