2012/11/20 Mark Engelberg <mark.engelb...@gmail.com> > Ugh, I should have guessed. My attempts to do clojurescript several > months back were foiled by trampolining problems, but that was on lein > 1.7. I was under the impression those problems had been fixed in lein 2.0, > so I had expected it to work, but it looks like there is still an issue. > Any easy workaround?
What happens if you just don't use trampoline at all ? (Is trampoline required, or just nice for saving some memory ?) > > > On Mon, Nov 19, 2012 at 8:48 PM, Sean Corfield <seancorfi...@gmail.com>wrote: > >> Looks like George nailed it with his note about issue 674 which came in >> while I was writing my (accurate but not particularly helpful) response... >> >> >> On Mon, Nov 19, 2012 at 11:45 PM, Sean Corfield >> <seancorfi...@gmail.com>wrote: >> >>> I wonder if it's some aspect of lein trampoline on Windows. As I >>> understand it, trampoline generates a file that is used to fire up the next >>> process and it may well have some *nix-ism that isn't compatible with >>> Windows? >>> >>> >>> On Mon, Nov 19, 2012 at 11:18 PM, Mark Engelberg < >>> mark.engelb...@gmail.com> wrote: >>> >>>> I just received the book today. I was surprised to see how thin it is, >>>> but I'm glad the book exists. I had a lot of trouble getting up and >>>> running several months ago, using only the scattered install instructions >>>> on the web. It's nice to have a clear path to getting started. >>>> >>>> Unfortunately, I can't get past page 8 and would appreciate some >>>> additional guidance. >>>> Using the latest lein 2.0 preview 10, I did "lein new cljs2" to create >>>> a new project called cljs2. >>>> Then, I edited the project.clj file as described in the book, using the >>>> latest version number for lein-cljsbuild: >>>> >>>> (defproject cljs2 "0.1.0-SNAPSHOT" >>>> :description "FIXME: write description" >>>> :url "http://example.com/FIXME" >>>> :license {:name "Eclipse Public License" >>>> :url "http://www.eclipse.org/legal/epl-v10.html"} >>>> :dependencies [[org.clojure/clojure "1.4.0"] >>>> [org.clojure/clojurescript "0.0-1450"]] >>>> :plugins [[lein-cljsbuild "0.2.9"]] >>>> :cljsbuild {:builds []}) >>>> >>>> Then, at the command prompt I typed: >>>> lein trampoline cljs-build repl-rhino >>>> and got the following error message. I'm running on Windows. Any idea >>>> what's going wrong? >>>> Thanks. >>>> >>>> C:\devel\Clojure\lein\cljs2>lein trampoline cljsbuild repl-rhino >>>> Running Rhino-based ClojureScript REPL. >>>> Exception in thread "main" clojure.lang.LispReader$ReaderException: >>>> java.lang.Ru >>>> ntimeException: EOF while reading, starting at line 1 >>>> at clojure.lang.LispReader.read(LispReader.java:215) >>>> at clojure.core$read.invoke(core.clj:3346) >>>> at clojure.core$read.invoke(core.clj:3344) >>>> at clojure.main$eval_opt.invoke(main.clj:295) >>>> at clojure.main$initialize.invoke(main.clj:316) >>>> at clojure.main$script_opt.invoke(main.clj:340) >>>> at clojure.main$main.doInvoke(main.clj:427) >>>> at clojure.lang.RestFn.invoke(RestFn.java:703) >>>> at clojure.lang.Var.invoke(Var.java:450) >>>> at clojure.lang.AFn.applyToHelper(AFn.java:212) >>>> at clojure.lang.Var.applyTo(Var.java:532) >>>> at clojure.main.main(main.java:37) >>>> Caused by: java.lang.RuntimeException: EOF while reading, starting at >>>> line 1 >>>> at clojure.lang.Util.runtimeException(Util.java:170) >>>> at >>>> clojure.lang.LispReader.readDelimitedList(LispReader.java:1117) >>>> at >>>> clojure.lang.LispReader$ListReader.invoke(LispReader.java:962) >>>> at clojure.lang.LispReader.read(LispReader.java:180) >>>> ... 11 more >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Clojure" group. >>>> To post to this group, send email to clojure@googlegroups.com >>>> Note that posts from new members are moderated - please be patient with >>>> your first post. >>>> To unsubscribe from this group, send email to >>>> clojure+unsubscr...@googlegroups.com >>>> For more options, visit this group at >>>> http://groups.google.com/group/clojure?hl=en >>>> >>> >>> >>> >>> -- >>> Sean A Corfield -- (904) 302-SEAN >>> An Architect's View -- http://corfield.org/ >>> World Singles, LLC. -- http://worldsingles.com/ >>> >>> "Perfection is the enemy of the good." >>> -- Gustave Flaubert, French realist novelist (1821-1880) >>> >> >> >> >> -- >> Sean A Corfield -- (904) 302-SEAN >> An Architect's View -- http://corfield.org/ >> World Singles, LLC. -- http://worldsingles.com/ >> >> "Perfection is the enemy of the good." >> -- Gustave Flaubert, French realist novelist (1821-1880) >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en