Fork me on GitHub
#cursive
<
2015-08-16
>
cfleming12:08:47

@danielcompton: You can make the code style a project style and check it in. In your code style setup, make sure “share” is selected, you’ll then get a codeStyles folder in your .idea

cfleming12:08:15

@misha: No problem, thanks! I’m glad you’re enjoying it.

caskolkm14:08:47

I used added the follow lein-generate to my boot profile: https://github.com/boot-clj/boot/wiki/For-Cursive-Users Loading the generated project.clj causes: Don't know how to create ISeq from: clojure.lang.Keyword: Don't know how to create ISeq from: clojure.lang.Keyword

caskolkm14:08:12

Anybody knows how to fix this?

meow17:08:13

@caskolkm: It would be at least possible to help you if you posted the resulting project.clj file.

cfleming19:08:10

@caskolkm: And the whole stacktrace would be helpful too - you should be able to find it in Help->Show log in Finder/Explorer

caskolkm19:08:03

(defproject
  boot-project
  "0.1.0-SNAPSHOT"
  :dependencies
  [[adzerk/boot-cljs "0.0-3308-0" :scope "test"]
   [adzerk/boot-cljs-repl "0.1.10-SNAPSHOT" :scope "test"]
   [adzerk/boot-reload "0.3.2-SNAPSHOT" :scope "test"]
   [danielsz/boot-environ "0.0.3" :scope "test"]
   [crisptrutski/boot-cljs-test "0.1.0-SNAPSHOT" :scope "test"]
   [org.clojure/clojurescript "0.0-3308"]
   [org.clojure/clojure "1.7.0"]
   [org.clojars.akiel/async-error "0.1"]
   [funcool/catacumba "0.5.0" :exclusions [[org.slf4j/slf4j-simple]]]
   [environ "1.0.0" :exclusions [org.clojure/clojure]]
   [org.danielsz/system "0.1.8"]
   [aleph "0.4.0" :exclusions [org.clojure/clojure]]
   [enlive "1.1.5"]
   [bouncer "0.3.3" :exclusions [[org.clojure/clojurescript]]]
   [joda-time "2.8.1"]
   [commons-codec "1.10"]
   [com.cemerick/piggieback "0.2.1"]
   [org.clojure/tools.nrepl "0.2.10"]
   [com.datomic/datomic-pro
    "0.9.5201"
    :exclusions
    [[org.slf4j/slf4j-log4j12]
     [org.slf4j/slf4j-nop]
     [org.apache.httpcomponents/httpclient]]]
   [io.rkn/conformity "0.3.5"]
   [org.clojure/tools.logging
    "0.3.1"
    :exclusions
    [org.clojure/clojure]]
   [ch.qos.logback/logback-classic "1.1.3"]
   [buddy "0.6.0" :exclusions [org.clojure/clojure]]
   [ring/ring-codec "1.0.0"]
   [cljsjs/aui "5.9.0-alpha002" :scope "provided"]
   [cljsjs/aui-experimental "5.9.0-alpha002" :scope "provided"]
   [cljs-ajax
    "0.3.13"
    :scope
    "provided"
    :exclusions
    [clj-time org.clojure/core.async]]
   [secretary "1.2.3" :scope "provided"]
   [re-frame
    "0.4.1"
    :exclusions
    [[org.clojure/clojure] [org.clojure/clojurescript]]
    :scope
    "provided"]]
  :source-paths
  ["src/cljs" "src/cljc" "src/clj"])

caskolkm19:08:43

@cfleming:

Don't know how to create ISeq from: clojure.lang.Keyword
java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Keyword
	at clojure.lang.RT.seqFrom(RT.java:528)
	at clojure.lang.RT.seq(RT.java:509)
	at clojure.lang.RT.keys(RT.java:585)
	at clojure.core$keys.invoke(core.clj:1488)
	at leiningen.core.utils$map_vals.doInvoke(utils.clj:115)
	at clojure.lang.RestFn.invoke(RestFn.java:442)
	at leiningen.core.user$fn__11013.invoke(user.clj:68)
	at clojure.lang.AFn.applyToHelper(AFn.java:154)
	at clojure.lang.AFn.applyTo(AFn.java:144)
	at clojure.core$apply.invoke(core.clj:630)
	at clojure.core$memoize$fn__5479.doInvoke(core.clj:6082)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at leiningen.core.user$fn__11016.invoke(user.clj:85)
	at clojure.lang.AFn.applyToHelper(AFn.java:152)
	at clojure.lang.AFn.applyTo(AFn.java:144)
	at clojure.core$apply.invoke(core.clj:630)
	at clojure.core$memoize$fn__5479.doInvoke(core.clj:6082)
	at clojure.lang.RestFn.invoke(RestFn.java:397)
	at leiningen.core.project$read_profiles.invoke(project.clj:654)
	at leiningen.core.project$project_with_profiles.invoke(project.clj:798)
	at cursive.leiningen$read_project.invoke(leiningen.clj:79)
	at cursive.leiningen$load_project.invoke(leiningen.clj:86)

caskolkm19:08:13

@meow: looks like the project file is ok..

meow20:08:54

@caskolkm: actually, those nested exclusions don't seem right :exclusions [[org.slf4j/slf4j-simple]] and such

caskolkm20:08:25

Boot does not warn about it?

meow20:08:10

@caskolkm: keep in mind that the way we are using boot for this is really a bit of a hack, and I'm just guessing at what might be going on.

meow20:08:27

so, boot is great, and so is cursive

meow20:08:56

so we have hacked boot to have it create a project.clj file for use with cursive

meow20:08:20

cursive expects the type of file commonly used by leinengen

meow20:08:03

I'm suspecting that in this case boot might be more forgiving of the nested exclusions than lein is, and cursive doesn't expect it

meow20:08:32

well, lein doesn't expect it and cursive is using lein

meow20:08:46

or I'm totally off-base

caskolkm20:08:12

How does leiningen suspect nested exclusions?

caskolkm20:08:08

I don't think it is completely different then boot

caskolkm20:08:54

I will look at it tomorrow

meow20:08:01

@caskolkm: I'm totally off-base. I just looked at the output of lein help sample and your file looks fine. Little by little I'm being forced to learn Leinengen... simple_smile

meow20:08:12

sorry for the wild guess - I should know better

meow20:08:08

hopefully @cfleming will have a more intelligent response for you