Re: Problem Running ClojureScript on OpenJDK

2011-10-03 Thread db
2, 11:07 pm, db donald.bl...@gmail.com wrote: Here's what the patch looks like for openjdk-6 with the latest master, where the mozilla-specific lines have moved to the rhino.js file: diff --git a/src/clj/cljs/repl/rhino.clj b/src/clj/cljs/repl/rhino.clj index cbe4f2a..15c5bf1 100644

Re: Problem Running ClojureScript on OpenJDK

2011-10-02 Thread db
The changes I posted previously solved the problem for me on open-jdk 6 on ubuntu. All I had to do was fix the package name and add the optimization level and everything worked fine. I haven't checked to see if master has changed in a way that would affect this patch. As I mentioned above,

Re: Problem Running ClojureScript on OpenJDK

2011-10-02 Thread db
Here's what the patch looks like for openjdk-6 with the latest master, where the mozilla-specific lines have moved to the rhino.js file: diff --git a/src/clj/cljs/repl/rhino.clj b/src/clj/cljs/repl/rhino.clj index cbe4f2a..15c5bf1 100644 --- a/src/clj/cljs/repl/rhino.clj +++

Re: Problem Running ClojureScript on OpenJDK

2011-07-23 Thread db
the javax.script code with rhino, and treat rhino as an explicit dependency. This could be the most flexible and consistent approach across jvms. On Jul 22, 10:34 pm, Sean Corfield seancorfi...@gmail.com wrote: On Fri, Jul 22, 2011 at 7:08 PM, db donald.bl...@gmail.com wrote: I believe that the issue can

Re: Problem Running ClojureScript on OpenJDK

2011-07-22 Thread db
)        at clojure.lang.RestFn.invoke(RestFn.java:397)        at clojure.lang.Var.invoke(Var.java:397)        at clojure.lang.AFn.applyToHelper(AFn.java:159)        at clojure.lang.Var.applyTo(Var.java:518)        at clojure.main.main(main.java:37) On Wed, Jul 20, 2011 at 7:45 PM, db donald.bl

Re: Problem Running ClojureScript on OpenJDK

2011-07-20 Thread db
I had the same problem with open jdk on ubuntu. It looks like open jdk has the class, but drops the 'internal' from the package name. You can remove the 'internal' in two places in compiler.clj and it seems to work. Longer term, the implementation-specific internal package should be removed or