Actually, has anybody succeeded to run ClojureScript One from Eclipse?

Daniel


On Feb 17, 12:14 pm, turcio <tur...@gmail.com> wrote:
> Hi,
> I'm trying to run ClojureScript One using CCW plugin in Eclipse. I
> created a new project and imported all the source code into it. Then I
> added folders to the build path that reflect the following
> configuration from project.clj:
>
> :git-dependencies [["https://github.com/clojure/clojurescript.git";
> "886d8dc81812962d30a741d6d05ce9d90975160f"]
>                      ["https://github.com/levand/domina.git";
> "8933b2d12c44832c9bfaecf457a1bc5db251a774"]]
>   :extra-classpath-dirs [".lein-git-deps/clojurescript/src/clj"
>                          ".lein-git-deps/clojurescript/src/cljs"
>                          ".lein-git-deps/domina/src/cljs"
>                          "src/app/cljs"
>                          "src/app/cljs-macros"
>                          "src/lib/clj"
>                          "src/lib/cljs"
>                          "templates"]
>
> I also executed "lein bootstrap" and added libraries to the build path
> in Eclipse.
>
> Now I'm running the app by right clicking on project folder, then Run
> as->Clojure application. In repl I execute: (in-ns 'one.sample.repl)
> (dev-server)). The browser shows up the homepage, but when I click on
> Development tab the exception listed below occurs. Some files
> ClojureScript fiiles are generated but not all. Also empty "out"
> directory is created in the root folder.
>
> Any ideas?
>
> Thanks,
> Daniel
>
> *************************************************************************** 
> *********************************************
>
> 2012-02-17 12:06:17.393:WARN::/development
> java.lang.AssertionError: Assert failed: Can't recur here|frame
>         at cljs.compiler$fn__877.invoke(compiler.clj:762)
>         at clojure.lang.MultiFn.invoke(MultiFn.java:177)
>         at cljs.compiler$analyze_seq.invoke(compiler.clj:1033)
>         at cljs.compiler$analyze.invoke(compiler.clj:1086)
>         at cljs.compiler$analyze.invoke(compiler.clj:1079)
>         at cljs.compiler$fn__801.invoke(compiler.clj:606)
>         at clojure.lang.MultiFn.invoke(MultiFn.java:177)
>         at cljs.compiler$analyze_seq.invoke(compiler.clj:1033)
>         at cljs.compiler$analyze.invoke(compiler.clj:1086)
>         at cljs.compiler$analyze.invoke(compiler.clj:1079)
>         at cljs.compiler$parse_invoke$fn__1014.invoke(compiler.clj:979)
>         at clojure.core$map$fn__3811.invoke(core.clj:2432)
>         at clojure.lang.LazySeq.sval(LazySeq.java:42)
>         at clojure.lang.LazySeq.seq(LazySeq.java:60)
>         at clojure.lang.Cons.next(Cons.java:39)
>         at clojure.lang.PersistentVector.create(PersistentVector.java:50)
>         at
> clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:
> 31)
>         at clojure.core$vec.invoke(core.clj:345)
>         at cljs.compiler$parse_invoke.invoke(compiler.clj:979)
>         at cljs.compiler$analyze_seq.invoke(compiler.clj:1034)
>         at cljs.compiler$analyze.invoke(compiler.clj:1086)
>         at cljs.compiler$analyze.invoke(compiler.clj:1079)
>         at cljs.compiler$fn__801.invoke(compiler.clj:607)
>         at clojure.lang.MultiFn.invoke(MultiFn.java:177)
>         at cljs.compiler$analyze_seq.invoke(compiler.clj:1033)
>         at cljs.compiler$analyze.invoke(compiler.clj:1086)
>         at cljs.compiler$analyze.invoke(compiler.clj:1079)
>         at cljs.compiler$parse_invoke$fn__1014.invoke(compiler.clj:979)
>         at clojure.core$map$fn__3811.invoke(core.clj:2432)
>         at clojure.lang.LazySeq.sval(LazySeq.java:42)
>         at clojure.lang.LazySeq.seq(LazySeq.java:60)
>         at clojure.lang.RT.seq(RT.java:466)
>         at
> clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:
> 31)
>         at clojure.core$vec.invoke(core.clj:345)
>         at cljs.compiler$parse_invoke.invoke(compiler.clj:979)
>         at cljs.compiler$analyze_seq.invoke(compiler.clj:1034)
>         at cljs.compiler$analyze.invoke(compiler.clj:1086)
>         at cljs.compiler$analyze.invoke(compiler.clj:1079)
>         at cljs.compiler$parse_invoke$fn__1014.invoke(compiler.clj:979)
>         at clojure.core$map$fn__3811.invoke(core.clj:2432)
>         at clojure.lang.LazySeq.sval(LazySeq.java:42)
>         at clojure.lang.LazySeq.seq(LazySeq.java:60)
>         at clojure.lang.Cons.next(Cons.java:39)
>         at clojure.lang.PersistentVector.create(PersistentVector.java:50)
>         at
> clojure.lang.LazilyPersistentVector.create(LazilyPersistentVector.java:
> 31)
>         at clojure.core$vec.invoke(core.clj:345)
>         at cljs.compiler$parse_invoke.invoke(compiler.clj:979)
>         at cljs.compiler$analyze_seq.invoke(compiler.clj:1034)
>         at cljs.compiler$analyze.invoke(compiler.clj:1086)
>         at cljs.compiler$analyze.invoke(compiler.clj:1079)
>         at cljs.compiler$analyze_file.invoke(compiler.clj:1105)
>         at cljs.compiler$compile_file_STAR_.invoke(compiler.clj:1136)
>         at cljs.compiler$compile_file.invoke(compiler.clj:1184)
>         at cljs.compiler$compile_root.invoke(compiler.clj:1244)
>         at cljs.closure$compile_dir.invoke(closure.clj:304)
>         at cljs.closure$fn__1377.invoke(closure.clj:336)
>         at cljs.closure$fn__1322$G__1317__1329.invoke(closure.clj:215)
>         at cljs.closure$fn__1370.invoke(closure.clj:350)
>         at cljs.closure$fn__1322$G__1317__1329.invoke(closure.clj:215)
>         at cljs.closure$build.invoke(closure.clj:785)
>         at one.reload$watch_cljs$fn__340.invoke(reload.clj:53)
>         at ring.middleware.file$wrap_file$fn__464.invoke(file.clj:29)
>         at one.sample.dev_server$rewrite_design_uris
> $fn__454.invoke(dev_server.clj:53)
>         at ring.middleware.file_info$wrap_file_info
> $fn__483.invoke(file_info.clj:40)
>         at one.templates$apply_templates$fn__318.invoke(templates.clj:77)
>         at one.sample.dev_server$js_encoding$fn__448.invoke(dev_server.clj:
> 41)
>         at ring.middleware.params$wrap_params$fn__504.invoke(params.clj:76)
>         at one.sample.dev_server$set_active_menu
> $fn__461.invoke(dev_server.clj:75)
>         at ring.middleware.stacktrace$wrap_stacktrace_log
> $fn__1156.invoke(stacktrace.clj:15)
>         at ring.middleware.stacktrace$wrap_stacktrace_web
> $fn__1188.invoke(stacktrace.clj:79)
>         at one.reload$reload_clj$fn__353.invoke(reload.clj:76)
>         at clojure.lang.Var.invoke(Var.java:401)
>         at ring.adapter.jetty$proxy_handler$fn__411.invoke(jetty.clj:16)
>         at ring.adapter.jetty.proxy$org.mortbay.jetty.handler.AbstractHandler
> $0.handle(Unknown Source)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 542)
>         at org.mortbay.jetty.HttpConnection
> $RequestHandler.headerComplete(HttpConnection.java:926)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at org.mortbay.jetty.bio.SocketConnector
> $Connection.run(SocketConnector.java:228)
>         at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:582)

-- 
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

Reply via email to