I've been exchanging emails and software packages back and forth with ibdknox who has been trying to help, and the whole thing is really weird. I've done my tests on two different computers (both running Ubuntu Natty 11.04 x64), and I get the exact same error on both. ibdknox is testing on his side. I've sent him my compiled packages, which fails in the same way on his side (on a Mac OSX), but which work when he simply does "rm -rf resources && lein clean && lein run". He has sent me his packages, which work when I run them precompiled, but fail like my initial report when I rebuild his stuff with the same commands.
java -version on my side outputs: java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) I'm not sure which version ibdknox runs, but normally Mac OSX is lagging as far as java releases go. Anyway, if somebody else not on Mac OSX, or preferrably somebody with access to both Linux and OSX, could give it a try, it would be appreciated. Remember to remove the resources directory to force recompilation of the clojurescript file (cljs) on startup. ibdknox' compiled package which works can be downloaded from my server on: http://kjeldahl.net/myapp.zip Thanks, Marius K. On Aug 14, 12:13 pm, kjeldahl <mariusauto-googlegro...@kjeldahl.net> wrote: > I've tried getting clojurescript to run in both my own application, > and also tested getting it embedded using noir and noir-cljs, but I'm > not having much luck. Essentially, whenever the build method gets > called, clojurescript outputs the following errors (except for the > line starting with "src-dir" below, which is debug output which shows > what the build method gets fed): > > Starting server... > src-dir: src/ opts: {:output-dir "resources/public/cljs/", :output- > to "resources/public/cljs/bootstrap.js", :optimizations :simple} > WARNING: Use of undeclared Var cljs.core/defn at line 15 > WARNING: Use of undeclared Var cljs.core/truth_ at line 15 > WARNING: Use of undeclared Var cljs.core/x at line 15 > > and many similar lines. There's only one cljs file in the path, and > it's the simple hello example from the QuickStart clojurescript github > page. > > If anybody with a clue could help me figure out how to fix or work > around this it would be greatly appreciated. > > Thanks, > > Marius K. -- 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