2014/1/9 Mimmo Cosenza <[email protected]> > On Jan 9, 2014, at 6:57 PM, Laurent PETIT <[email protected]> wrote: > > Question for Mimmo: does it make sense to have e.g. > dev-resources/tools/http/ visible from dev-resources/ ? (e.g., is > tools/http a valid classpath location that contains something useful ?) > > > It contains the http server code (i.e. ring/compojure stuff). It is used > to be able to run the browser connection with the browser in the > development environment. Take into account that this lein-template is for > pure CLJS libs only. > > Tha CLJ code is only used for activating the brepl by using austin. > > > Because I can fix this problem in Eclipse by saying that for the root path > dev-resources/, its subfolder tools/http is excluded (so that I can use it > as a root path on its own) … > > > hum…it should be easier to move the tools dir under another directory. > > Let me know if you still need it. If you think this is a kind of > integration bug I can fix it in the lein-template. >
Well, there are 2 sides to this "problem": - I am not a big fan of doing this, because it is more complex than it needs. I have to think twice: "was there a special reason to nest one source-path inside another?" - Java allows this, and so does Leiningen, so examples like that will pop again. Some will be solved if people can join the authors and they agree to change things (as you kindly suggested). Sometimes it will not be possible. So, as a tools author, I will have to support this, I fear :-). For your particular starter, I can try to do the tests locally, to see if there are other problems waiting for me around the corner, and once everything is okay, I'll report here with all the changes I had to make. -- Laurent > > Mimmo > > > > 2014/1/9 Laurent PETIT <[email protected]> > >> Argh, Mimmo, I cannot make your example work: Eclipse doesn't like the >> fact that dev-resources/ is a source-path, while at the same time, >> dev-resources/tools/repl/ and dev-resources/tools/http/ are also >> source-paths (they are sub-folders of dev-resources/). >> >> Is there an easy way around this? >> >> >> 2014/1/9 Laurent PETIT <[email protected]> >> >>> Thanks, I will give it a try ! >>> >>> >>> 2014/1/9 Mimmo Cosenza <[email protected]> >>> >>>> On Jan 9, 2014, at 6:25 PM, Mimmo Cosenza <[email protected]> >>>> wrote: >>>> >>>> I intended >>>> >>>> …start evaluating in the repl >>>> >>>> >>>> >>>> start evaluating cljs code in the repo >>>> >>>> >>>> >>>> >>>> On Jan 9, 2014, at 6:02 PM, Laurent PETIT <[email protected]> >>>> wrote: >>>> >>>> Hello, >>>> >>>> The current stable ( 0.20.0 ) version of CCW uses nrepl 0.2.1. >>>> >>>> I've just updated it to 0.2.3 in the release that is coming out today. >>>> Maybe that can help? >>>> >>>> I'd like to help you, but not doing any ClojureScript development atm, >>>> I need some guidance to be able to quickly setup something to test without >>>> having to dig through tons of docs. >>>> >>>> If you can help me get started (the Austin README is real huge, what >>>> portion of it are you referring to? What assumed knowledge should I gather >>>> first?, etc.) >>>> >>>> >>>> >>>> >>>> 2014/1/9 Frank Gerhardt <[email protected]> >>>> >>>>> Hi, >>>>> >>>>> I can run the Austin example fine from a shell. When running it from >>>>> Eclipse/CCW I can do everything except the last step, turning the repl >>>>> into a cljs-repl. >>>>> >>>>> This (cemerick.austin.repls/cljs-repl repl-env) gives me >>>>> IllegalStateException Can't change/establish root binding of: >>>>> *cljs-repl-options* with set clojure.lang.Var.set (Var.java:233) >>>>> >>>>> From a shell exactly the same code as cloned from github works. >>>>> >>>>> I noticed that the CCW REPL and the Eclipse Console are both getting >>>>> some output. >>>>> >>>>> This is in the Eclipse Console: >>>>> 2014-01-09 17:03:28.511:INFO:oejs.Server:jetty-7.6.8.v20121106 >>>>> 2014-01-09 17:03:28.556:INFO:oejs.AbstractConnector:Started >>>>> [email protected]:8090 >>>>> Browser-REPL ready @ http://localhost:37583/4/repl/start >>>>> >>>>> And in the CCW REPL I have the usual output like: >>>>> Browser-REPL ready @ http://localhost:37583/4/repl/start >>>>> >>>>> I even saw the cljs-repl prompt in the Eclipse Console. >>>>> >>>>> Has anbody go this working in Eclipse? >>>>> >>>>> Frank >>>>> >>>>> -- >>>>> 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.
