Fork me on GitHub
#onyx
<
2015-09-22
>
nha13:09:22

@michaeldrogalis: well 0.7.3 - 0.7.5 (didn't test before) seem to be conflicting with clojurescript [org.clojure/clojurescript "1.7.48"]

nha13:09:42

It's also broken on 0.7.5 on

[org.clojure/clojurescript "1.7.48"]
[org.clojure/clojurescript "1.7.122"]
[org.clojure/clojurescript "1.7.28"]
[org.clojure/clojurescript "1.7.107"]
 

michaeldrogalis14:09:21

@nha I don't understand what your last post meant.

nha14:09:52

I mean I tried those versions of ClojureScript with the same result (Exception)

nha14:09:46

Ah sorry I meant that I cannot have both onyx and clojurescript as dependencies.

nha14:09:01

I then precised the versions.

michaeldrogalis14:09:26

Can you send me your project.clj in its entirety? Or are you sure those two dependencies are all it takes to cause that problem?

michaeldrogalis14:09:10

I just loaded up both on a project file, I don't see it. Are you running Java 8?

nha15:09:35

I'm running Java 8 on osx yes. I recreated a new project (lein new app) to see which dependencies were causing trouble. I then assed clojurescript and onyx, and 'lein run' throws an exception.

nha15:09:53

Here is the file anyway :

(defproject onyx-bug "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url ""
  :license {:name "Eclipse Public License"
            :url ""}
  :dependencies [[org.clojure/clojure "1.7.0"]
                 ;; versions :
                 ;;[org.clojure/clojurescript "1.7.48"]
                 [org.clojure/clojurescript "1.7.122"]
                 ;;[org.clojure/clojurescript "1.7.28"]
                 ;;[org.clojure/clojurescript "1.7.107"]
                 [org.onyxplatform/onyx "0.7.5"]]
  :main ^:skip-aot onyx-bug.core
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all}})

nha15:09:52

Or maybe it is something in my setup but then I can't think of anything since I tried with a fresh boot (not lein) project, and the same happened.

michaeldrogalis15:09:26

Check your profiles.clj

michaeldrogalis15:09:19

Also, what is lein run doing for you?

nha15:09:02

well since I generated it using lein new app, it tries to run a hello-world file (println "Hello World")

michaeldrogalis15:09:50

Okay. Ill check it out later today.

nha15:09:02

Thanks. It's not urgent on my side, but if that's an issue I'm surprised it hasn't been reported earlier (which makes me doubt I'm doing something awful, but I've been trying to put onyx into a project of mine since 0.7.3).

michaeldrogalis19:09:25

@nha: Yeah, I can't reproduce this. Do check your profiles.clj and look for conflicting dependencies.