This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-22
Channels
- # admin-announcements (8)
- # beginners (23)
- # boot (121)
- # cider (4)
- # clojure (19)
- # clojure-bangladesh (14)
- # clojure-berlin (3)
- # clojure-brasil (2)
- # clojure-dev (5)
- # clojure-russia (13)
- # clojure-sweden (1)
- # clojurescript (99)
- # clojutre (3)
- # datascript (2)
- # funcool (1)
- # jobs (1)
- # om (23)
- # overtone (1)
- # reagent (10)
- # spacemacs (3)
@micha: any chance you have an idea for a quick fix? or also how to fix the jar task?
clojure.lang.ExceptionInfo: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: No implementation of method: :-compile of protocol: #'cljs.closure/Compilable found for class: nil
https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/closure.clj#L1669-L1671 this does something different with optimizations
I need to probably separate main ns writing from compile-1 so I can run that first for all builds, do the commit and then run all compilations
most of the namespaces are already in classpath, it’s just the main ns which is not
and if i use my utility library in all of them i need to keep them all to the same version
We have a utility lib we use in app projects. For libraries we copy the necessary parts.
We have metosin/potpuri
. It's medley in Finnish (weavejester’s utility fn lib is medley).
https://github.com/adzerk-oss/boot-cljs/commit/58d0b5b446cffcc06db87d05bead073ab8c9d3f6 works for me now
@micha: Do you know what was the problem with your project? Did you test with fixed version?
Was there any changes to uberjar building yet? Advanced cljs build is 1min and the whole package task takes 2min
the idea is to cache the exploded contents of jars using the modtime of the associated jar file in .m2 to invalidate the cache
also a change we want to make is to have the jar task remove things it added to the jar from the fileset by default
so we could add an option to the jar task to suppress that, remove files it added to the jar from the fileset
I remember there was some speculation that a solution would be to add dependency jar contents directly to jar in jar task