I can't recreate your issue on master with two important corrections, cat > hello.cljs, hello.cljs declares a non-single segment namespace hello.core.
Neither bootstrap nor cljsc appear broken to me. David On Wed, Mar 12, 2014 at 10:08 PM, Alan Shaw <[email protected]> wrote: > So it appears that either bootstrap or cljsc is broken. > On Mar 12, 2014 12:14 PM, "Alan Shaw" <[email protected]> wrote: > >> Yes, I did run the bootstrap script. >> >> >> >> (btw s/cat >hello.js/cat >hello.cljs/ >> >> >> On Wednesday, March 12, 2014 12:06:42 PM UTC-7, David Nolen wrote: >> > Did you run the bootstrap script? >> > >> > >> > David >> > >> > >> > >> > On Wed, Mar 12, 2014 at 3:02 PM, Alan Shaw <[email protected]> wrote: >> > >> > >> > >> > natoma:cljs alan$ cat >hello.js >> > (ns hello) >> > (defn ^:export greet [n] >> > >> > (str "Hello " n)) >> > natoma:cljs alan$ which cljsc >> > /Users/alan/Workspaces/Clojure/clojurescript/bin/cljsc >> > >> > natoma:cljs alan$ cljsc hello.cljs '{:optimizations :advanced}' > >> hello.js >> > Exception in thread "main" java.lang.ClassNotFoundException: >> com.google.javascript.jscomp.JSSourceFile >> > >> > >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) >> > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) >> > >> > at java.security.AccessController.doPrivileged(Native Method) >> > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) >> > >> > >> > at >> clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:61) >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) >> > >> > >> > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) >> > at java.lang.Class.forName0(Native Method) >> > at java.lang.Class.forName(Class.java:190) >> > >> > >> > at >> cljs.closure$eval5$loading__4910__auto____6.invoke(closure.clj:9) >> > at cljs.closure$eval5.invoke(closure.clj:9) >> > >> > at clojure.lang.Compiler.eval(Compiler.java:6619) >> > at clojure.lang.Compiler.eval(Compiler.java:6608) >> > at clojure.lang.Compiler.load(Compiler.java:7064) >> > >> > >> > at clojure.lang.RT.loadResourceScript(RT.java:370) >> > at clojure.lang.RT.loadResourceScript(RT.java:361) >> > >> > at clojure.lang.RT.load(RT.java:440) >> > at clojure.lang.RT.load(RT.java:411) >> > at clojure.core$load$fn__5018.invoke(core.clj:5530) >> > >> > >> > at clojure.core$load.doInvoke(core.clj:5529) >> > at clojure.lang.RestFn.invoke(RestFn.java:408) >> > at clojure.core$load_one.invoke(core.clj:5336) >> > >> > >> > at clojure.core$load_lib$fn__4967.invoke(core.clj:5375) >> > at clojure.core$load_lib.doInvoke(core.clj:5374) >> > >> > at clojure.lang.RestFn.applyTo(RestFn.java:142) >> > at clojure.core$apply.invoke(core.clj:619) >> > at clojure.core$load_libs.doInvoke(core.clj:5413) >> > >> > >> > at clojure.lang.RestFn.applyTo(RestFn.java:137) >> > at clojure.core$apply.invoke(core.clj:619) >> > at clojure.core$require.doInvoke(core.clj:5496) >> > >> > >> > at clojure.lang.RestFn.invoke(RestFn.java:408) >> > at user$eval1.invoke(cljsc.clj:9) >> > at clojure.lang.Compiler.eval(Compiler.java:6619) >> > >> > >> > at clojure.lang.Compiler.load(Compiler.java:7064) >> > at clojure.lang.Compiler.loadFile(Compiler.java:7020) >> > >> > at clojure.main$load_script.invoke(main.clj:294) >> > at clojure.main$script_opt.invoke(main.clj:356) >> > at clojure.main$main.doInvoke(main.clj:440) >> > >> > >> > at clojure.lang.RestFn.invoke(RestFn.java:436) >> > at clojure.lang.Var.invoke(Var.java:423) >> > at clojure.lang.AFn.applyToHelper(AFn.java:167) >> > >> > >> > at clojure.lang.Var.applyTo(Var.java:532) >> > at clojure.main.main(main.java:37) >> > natoma:cljs alan$ >> > >> > >> > >> > >> > >> > >> > >> > >> > -- >> > >> > 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.
