@cemerick I do the same thing in cider-nrepl, but dynamically, avoiding this problem (and not forcing austin/piggieback on people's classpaths). https://github.com/clojure-emacs/cider-nrepl/blob/master/src/cider/nrepl/middleware/util/cljs.clj
On Mon, May 26, 2014 at 5:28 PM, Chas Emerick <[email protected]> wrote: > Oh, and in the meantime, a workaround for the problem can be found here: > > https://github.com/cemerick/austin/issues/37 > > - Chas > > > On 05/26/2014 05:27 PM, Chas Emerick wrote: > > Yeah, James nailed it in his issue: > > https://github.com/lynaghk/cljx/issues/40 > > cljx depends upon piggieback to know whether the current REPL session is > Clojure or ClojureScript, which is how it chooses what transformation > ruleset to use. > > Fixed releases of cljx and Austin that address this conflicting deps issue > coming shortly. > > Thanks, James! > > - Chas > > On 05/26/2014 11:57 AM, Gary Trakhman wrote: > > All the CLJS tooling bits (austin, piggieback, cider-nrepl, CLJS itself) > are relatively fragile with respect to versioning right now, is there a > real need for CLJX to be coupled to piggieback like that? > > > On Mon, May 26, 2014 at 9:15 AM, James Henderson < > [email protected]> wrote: > >> I think this could be due to CLJX imposing a version of piggieback >> (0.1.0) that isn't compatible with Austin - when CLJX's plugin's lein >> middleware adds the CLJX dependency, it adds it in a way that takes >> preference over any other later piggieback dependencies that you put in, >> and takes away the ability to apply exclusions. >> >> I'm working around this currently by something like >> https://gist.github.com/james-henderson/4c890844903f6054334b >> >> I could have sworn that I submitted a bug report to CLJX but must have >> dreamed it - will do it now! :) >> >> James >> >> On Monday, 26 May 2014 10:21:34 UTC+1, Chas Emerick wrote: >> > What version of ClojureScript are you using? Sounds like an >> incompatibility. >> > >> > >> > >> > - Chas >> > >> > >> > >> > On 05/23/2014 09:44 PM, kovas boguta wrote: >> > >> > > So combing austin & cljx is blowing up for me. >> > >> > > >> > >> > > In browser-connected-repl-sample/project.clj , ive added >> > >> > > >> > >> > > [com.keminglabs/cljx "0.3.2"] >> > >> > > >> > >> > > in the :dev :plugins profile. >> > >> > > >> > >> > > at the repl, trying to invoke the cljs repl I get the error: >> > >> > > >> > >> > > cemerick.austin.bcrepl-sample=> (cemerick.austin.repls/cljs-repl >> repl-env) >> > >> > > >> > >> > > NullPointerException clojure.core/deref-future (core.clj:2108) >> > >> > > >> > >> > > When I remove the plugin in project.clj, everything works. >> > >> > > >> > >> > > Any ideas? >> > >> > > >> > >> > > Thanks >> > >> > > >> >> -- >> Note that posts from new members are moderated - please be patient with >> your first post. >> --- >> You received this message because you are subscribed to the Google Groups >> "ClojureScript" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/clojurescript. >> > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > > > > -- > Note that posts from new members are moderated - please be patient with > your first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
