Re: ClojureScript One - Getting Started with ClojureScript

2012-02-21 Thread Raju Bitter
2012/2/7 Tom Chappell tomchapp...@gmail.com: This problem is caused by the underlying Java library that is used to launch the browser, which, under linux, only launches the proper default browser if gnome is installed. Install enough gnome and it will start to work. -Tom Thanks, Tom. That

Re: ClojureScript One - Getting Started with ClojureScript

2012-02-07 Thread Tom Chappell
This problem is caused by the underlying Java library that is used to launch the browser, which, under linux, only launches the proper default browser if gnome is installed. Install enough gnome and it will start to work. -Tom On Jan 25, 10:49 am, Raju Bitter rajubit...@googlemail.com wrote:

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
ClojureScript One is fantastic! Great work, thanks! I just have one question, am running it on Ubuntu Linux. How can I set the browser when I launch inferior/lisp script/cljs-repl? On Linux, a Java based browser window is opened, and the page is not rendered correctly? Thanks again, - Raju --

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
clojure.java.browse/open-url-in-swing is called a fallback method, and then the ClojureScript app is not rendered correctly. http://bit.ly/yPagHl I'll see if I can create a workaround for that. - Raju -- You received this message because you are subscribed to the Google Groups Clojure group.

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Brenton
With the recent update, we no longer have a script/cljs-repl. You would now use: lein repl (go) to accomplish the same thing. In your case, you can use: lein repl (binding [*open-url-script* x] (go)) Brenton On Jan 25, 3:19 pm, Raju Bitter rajubit...@googlemail.com wrote:

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
Thanks for your response, Brenton. 2012/1/25 Brenton bashw...@gmail.com: With the recent update, we no longer have a script/cljs-repl. You would now use: lein repl (go) That works on OS X. On Ubuntu 11.04 - with a clean system (no Leiningen / Clojure installed), I do 1) Install Leiningen,

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
3) Try to launch the repl, but that fails. Seems to be a classpath issue, looks like Leiningen is not finding the Clojure JAR file. Any idea what this might be? raju@titan:~/test/one$ lein repl Exception in thread main java.lang.RuntimeException: java.lang.NoSuchMethodError:

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
I don't have a $CLASSPATH set, and no ~/.clojure folder, so there shouldn't be any conflicting Clojure JAR file on the classpath. - Raju -- 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

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Brenton
This is not an issue with One but with Leiningen. Others have run into the same problem: https://github.com/technomancy/leiningen/issues/375 https://github.com/dakrone/clojuredocs-client/issues/6 Another work-around is to make sure you have clojure-1.2.1 in your local maven repository. On Jan

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Raju Bitter
Thanks for your help. Should have looked into the Leiningen issues myself. - Raju -- 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

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-25 Thread Phil Hagelberg
Raju Bitter rajubit...@googlemail.com writes: Thanks for your help. Should have looked into the Leiningen issues myself. Just a heads-up; this is fixed in the 1.x branch of Leiningen. I hope to have a stable release in a couple weeks. -Phil -- You received this message because you are

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread nchurch
Just wanted to add my thanks on this as well! It looks beautiful Nick. On Jan 12, 11:46 am, Daniel Jomphe danieljom...@gmail.com wrote: Will we be able to read the account of the experience of translating the app from CoffeeScript to ClojureScript? And/or reading both code bases. Not

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread Brenton
We cannot share that information because it was a client project. It wasn't really a translation process. We simply attempted to solve the same problem with different tools. I do realize that seeing them side- by-side would be interesting but we just can't do it. Issue 22 is not related to this.

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread Craig Andera
For anyone that wants to hear a bit more about Brenton's thinking around ClojureScript One, we just published a podcast interview with him on the Relevance blog. Have a listen if you feel so inclined! http://thinkrelevance.com/blog/2012/01/12/podcast-episode-003.html On Thu, Jan 12, 2012 at 2:35

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread abaitam
I am dying to try this. However, the script/run script (on MAC) gives me this error message: Exception in thread main java.lang.ClassNotFoundException: clojure.main at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread Brenton
It looks like you don't have Clojure. Did you run script/deps? Do you have anything in the lib directory? Try running it again. Brenton On Jan 12, 4:28 pm, abaitam abai...@gmail.com wrote: I am dying to try this. However, the script/run script (on MAC) gives me this error message: Exception

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread abaitam
Thanks, but I did run script/deps and it successfully completed I have all the jars under lib. I cloned CLJS1 several times but always got the same error. What information do you need to help me solve the problem? On Jan 12, 4:50 pm, Brenton bashw...@gmail.com wrote: It looks like you don't

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread abaitam
Hi, I removed the reference to jline.ConsoleRunner and the exception stopped but I get another error now: 2012-01-12 18:05:34.527:INFO::Logging to STDERR via org.mortbay.log.StdErrLog 2012-01-12 18:05:34.528:INFO::jetty-6.1.25 2012-01-12 18:05:34.545:WARN::failed SocketConnector@0.0.0.0:8080:

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-12 Thread abaitam
Apparently I had Jenkins listening on port 8080. I can now see the CLJS1 application. Will look at the jline problem later. Thanks Brenton. On Jan 12, 6:09 pm, abaitam abai...@gmail.com wrote: Hi, I removed the reference to jline.ConsoleRunner and the exception stopped but I get another error

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-11 Thread Base
All I can say is WOW! This is absolutely fantastic. Thank you and Congratulations to all who helped put this together. It is so appreciated. Base On Jan 11, 1:27 pm, Brenton bashw...@gmail.com wrote: Today we are releasing ClojureScript One. A project to help you get started writing

Re: ClojureScript One - Getting Started with ClojureScript

2012-01-11 Thread Devin Walters
This is really great. Not only is there great documentation, it's /beautiful/ 'taboo. Thanks to everyone who made this happen. On Wednesday, January 11, 2012 at 7:23 PM, Base wrote: All I can say is WOW! This is absolutely fantastic. Thank you and Congratulations to all who helped put