Re: Leiningen 1.2.0 released
On Aug 21, 1:04 am, "evins.mi...@gmail.com" wrote: > Up til now, I've avoided using ELPA (it doesn't play nicely with my 25 > years' worth of Lisp-oriented emacs customizations). It may be helpful > for other hoary old lisp hackers to know that you really want to use > ELPA with lein, no matter how fervently you may believe that you > don't. I managed to evade ELPA up until this lein release, but it > seems the free ride is over. It's possible to use SLIME+Clojure without ELPA and without clobbering your other Lisps. Check out http://github.com/vu3rdd/swank-clojure-extra for starters. Personally I still forgo `lein swank` in favor of setting things up for `M-x slime` myself. The best bits of lein (dependency management, jar-file making etc.) work great without Emacs getting involved. I am convinced that ELPA is probably the best option for a Clojure/ Emacs newbie to get set up easily, but it's not for me and there are plenty of other people who share your aversion. Many thanks Phil and Leiningen contributors for another release. --Brian -- 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
Re: Leiningen 1.2.0 released
On Sat, Aug 21, 2010 at 1:04 AM, evins.mi...@gmail.com wrote: > ELPA still hamstrings and lobotomizes my Common Lisp environment, so, > instead of loading either it or my usual environment at Emacs startup, > I now load a pair of M-x commands, one for loading the familiar and > comfortable Common Lisp environment, and one for loading that other > thing, about which the less said, the better. Please note that there's nothing inherent in the idea of package.el that causes it to work poorly with Common Lisp; it's only because nobody involved in it so far cares about Common Lisp. If you'd like to improve the slime packages, that would be great. -Phil -- 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
Re: Leiningen 1.2.0 released
On Aug 19, 10:39 pm, Phil Hagelberg wrote: > I just pushed out a new release of Leiningen, a Clojure build tool, > with lots of help from many contributors. > > This adds a couple new tasks (test! and interactive) and the ability to chain > tasks. It also allows for user-level init scripts and user-level plugins, so > you > don't have to declare things like swank as a dependency for every project you > use; just install it once and be done with it. > > The repl task now acts as a socket server, so multiple concurrent connections > may be used. > > Another neat feature is the ability to bundle shell script launchers > with your jar > files. Leiningen will place these in the ~/.lein/bin directory so you can have > an easy way to launch projects from the command-line. > > One last "new feature" is the Leiningen stickers:http://twitpic.com/2e33r1 > If you've contributed to Leiningen, you can send for one yourself; details > at:http://groups.google.com/group/leiningen/browse_thread/thread/fb4db02... > > Users of 1.1.0 and 1.2.0 can upgrade with "lein upgrade". Otherwise download > the script fromhttp://github.com/technomancy/leiningen/raw/stable/bin/lein, > place it on your $PATH and make it executable, and then run "lein > self-install" to get going. New users should check out the > Tutorial:http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md > > A complete list of the new features and bug fixes can be found > athttp://bit.ly/lein-news > > Enjoy! Thanks very much for the continued work on lein; I usually do enjoy it. Up til now, I've avoided using ELPA (it doesn't play nicely with my 25 years' worth of Lisp-oriented emacs customizations). It may be helpful for other hoary old lisp hackers to know that you really want to use ELPA with lein, no matter how fervently you may believe that you don't. I managed to evade ELPA up until this lein release, but it seems the free ride is over. ELPA still hamstrings and lobotomizes my Common Lisp environment, so, instead of loading either it or my usual environment at Emacs startup, I now load a pair of M-x commands, one for loading the familiar and comfortable Common Lisp environment, and one for loading that other thing, about which the less said, the better. I'm mildly nauseated, but both Common Lisp and clojure+lein appear to be working again. -- 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
Re: Leiningen 1.2.0 released
i'm trying to use the new shell script feature. in my project i have :shell-wrapper {:main user :bin "resources/bin/caj"} when i did a lein install it was copying my-project/resources/bin/caj to my-project/bin/caj, that is, until i manually added a ~/.lein directory and now it is copying it to ~/.lein/bin/caj instead as expected, but... my script looks like this (for the moment): #!/bin/bash echo "classpath: %s" echo "main: %s" and it also looks identical after it gets copied. i.e. the %s are not being replaced. maybe i'm just not getting something? lein version gives me: Leiningen 1.3.0 on Java 1.6.0_20 Java HotSpot(TM) 64-Bit Server VM and i'm on os x 10.6.4 (snow leopard). thanks for any tips, and phil, thanks for lein, _c On Aug 20, 12:28 am, limux wrote: > It's 1.3.0! > > 2010/8/20 David Nolen : > > > > > On Fri, Aug 20, 2010 at 12:39 AM, Phil Hagelberg wrote: > > >> I just pushed out a new release of Leiningen, a Clojure build tool, > >> with lots of help from many contributors. > > > Looks great. A couple early observations/issues, > > 1) It's no longer possible to start a REPL w/o a project.clj :( > > 2) starting a REPL puts you in clojure.core instead of user > > David > > > -- > > 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 > > -- > 云中漫步 -- 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
Re: [ANN] Leiningen 1.2.0 released
It's 1.3.0! 2010/8/20 David Nolen : > On Fri, Aug 20, 2010 at 12:39 AM, Phil Hagelberg wrote: >> >> I just pushed out a new release of Leiningen, a Clojure build tool, >> with lots of help from many contributors. > > Looks great. A couple early observations/issues, > 1) It's no longer possible to start a REPL w/o a project.clj :( > 2) starting a REPL puts you in clojure.core instead of user > David > > -- > 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 -- 云中漫步 -- 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
Re: [ANN] Leiningen 1.2.0 released
On Fri, Aug 20, 2010 at 12:39 AM, Phil Hagelberg wrote: > I just pushed out a new release of Leiningen, a Clojure build tool, > with lots of help from many contributors. Looks great. A couple early observations/issues, 1) It's no longer possible to start a REPL w/o a project.clj :( 2) starting a REPL puts you in clojure.core instead of user David -- 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
[ANN] Leiningen 1.2.0 released
I just pushed out a new release of Leiningen, a Clojure build tool, with lots of help from many contributors. This adds a couple new tasks (test! and interactive) and the ability to chain tasks. It also allows for user-level init scripts and user-level plugins, so you don't have to declare things like swank as a dependency for every project you use; just install it once and be done with it. The repl task now acts as a socket server, so multiple concurrent connections may be used. Another neat feature is the ability to bundle shell script launchers with your jar files. Leiningen will place these in the ~/.lein/bin directory so you can have an easy way to launch projects from the command-line. One last "new feature" is the Leiningen stickers: http://twitpic.com/2e33r1 If you've contributed to Leiningen, you can send for one yourself; details at: http://groups.google.com/group/leiningen/browse_thread/thread/fb4db02386cb9fe9 Users of 1.1.0 and 1.2.0 can upgrade with "lein upgrade". Otherwise download the script from http://github.com/technomancy/leiningen/raw/stable/bin/lein, place it on your $PATH and make it executable, and then run "lein self-install" to get going. New users should check out the Tutorial: http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md A complete list of the new features and bug fixes can be found at http://bit.ly/lein-news Enjoy! -Phil -- 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
Re: Leiningen 1.2.0 released!
On Tue, Jul 20, 2010 at 2:43 PM, Daniel Gagnon wrote: >> Mostly we need volunteers to port the changes from the bash script to the >> batch file and test the changes. Also I don't think the self-install feature >> will ever work with lein.bat due to the lack of a way to download files. We >> may switch to a powershell script to work around this limitation; I don't >> know enough about Windows to say if that's a good idea. > > Bummer, I know nothing about batch files... > As for the self install, what about writing the downloader in Java and > invoking it from the batch file? Sure, but by the time we can run the Java we don't need the self-install functionality any more. =) > Or using izPack which is the most popular next-next-finish installer for > Java? It would be very idiomatic for Windows. Sure, that could work. Please chime in on the Leiningen mailing list if you'd like to help out with this once the batch file is updated. -Phil -- 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
Re: Leiningen 1.2.0 released!
On Tue, Jul 20, 2010 at 9:51 AM, Phil Hagelberg wrote: > On Mon, Jul 19, 2010 at 3:00 PM, Daniel Gagnon > wrote: > > By the way, what's left to do for the Windows support to stop being > > experimental? > > Mostly we need volunteers to port the changes from the bash script to the > batch file and test the changes. Also I don't think the self-install feature > will ever work with lein.bat due to the lack of a way to download files. We > may switch to a powershell script to work around this limitation; I don't > know enough about Windows to say if that's a good idea. > > > Bummer, I know nothing about batch files... As for the self install, what about writing the downloader in Java and invoking it from the batch file? Or using izPack which is the most popular next-next-finish installer for Java? It would be very idiomatic for Windows. -- 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
Re: Leiningen 1.2.0 released!
Absolutely! Leiningen and its plugin system are wonderful in their simplicity. Thanks a lot. -Jeff On Jul 20, 6:55 pm, Brian Carper wrote: > On Jul 18, 5:17 pm, defn wrote: > > > I think I speak for everyone when I say: "thank you". > > inc > > --Brian -- 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
Re: Leiningen 1.2.0 released!
On Jul 18, 5:17 pm, defn wrote: > I think I speak for everyone when I say: "thank you". inc --Brian -- 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
Re: Leiningen 1.2.0 released!
On Mon, Jul 19, 2010 at 3:00 PM, Daniel Gagnon wrote: > By the way, what's left to do for the Windows support to stop being > experimental? Mostly we need volunteers to port the changes from the bash script to the batch file and test the changes. Also I don't think the self-install feature will ever work with lein.bat due to the lack of a way to download files. We may switch to a powershell script to work around this limitation; I don't know enough about Windows to say if that's a good idea. There's a thread on the Leiningen mailing list ("Finally: Leiningen 1.2") to check if you want to help out. -Phil -- 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
Re: Leiningen 1.2.0 released!
On Windows, Lein 1.2 fails (though Lein 1.1 works) with the following message: D:\learn\hello>lein12 test Exception in thread "main" clojure.lang.LispReader$ReaderException: java.lang.Exception: Invalid token: D: at clojure.lang.LispReader.read(LispReader.java:180) at clojure.core$read.invoke(core.clj:2884) at clojure.core$read.invoke(core.clj:2882) at clojure.main$eval_opt.invoke(main.clj:233) at clojure.main$initialize.invoke(main.clj:254) at clojure.main$script_opt.invoke(main.clj:270) at clojure.main$main.doInvoke(main.clj:354) at clojure.lang.RestFn.invoke(RestFn.java:1261) at clojure.lang.Var.invoke(Var.java:477) at clojure.lang.AFn.applyToHelper(AFn.java:412) at clojure.lang.Var.applyTo(Var.java:482) at clojure.main.main(main.java:37) Caused by: java.lang.Exception: Invalid token: D: at clojure.lang.LispReader.interpretToken(LispReader.java:286) at clojure.lang.LispReader.read(LispReader.java:171) at clojure.lang.LispReader.readDelimitedList(LispReader.java: 1060) at clojure.lang.LispReader$ListReader.invoke(LispReader.java: 900) at clojure.lang.LispReader.readDelimitedList(LispReader.java: 1051) at clojure.lang.LispReader$ListReader.invoke(LispReader.java: 900) at clojure.lang.LispReader.read(LispReader.java:145) ... 11 more It seems the ":" character (e.g. in "D:") needs to be escaped somewhere? Regards, Shantanu On Jul 20, 2:10 pm, ka wrote: > Awesome awesome new features !! > > Yes, when does windows support stop being experimental ? > > Even though one of the new features is - > * Added experimental Windows support. > > Has anyone tried lein 1.2 on windows (with the lein.bat > onhttp://github.com/technomancy/leiningen) ? -- 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
Re: Leiningen 1.2.0 released!
Awesome awesome new features !! Yes, when does windows support stop being experimental ? Even though one of the new features is - * Added experimental Windows support. Has anyone tried lein 1.2 on windows (with the lein.bat on http://github.com/technomancy/leiningen) ? -- 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
Re: Leiningen 1.2.0 released!
Impressive list of new features! By the way, what's left to do for the Windows support to stop being experimental? -- 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
Re: Leiningen 1.2.0 released! -- bug?
On Sun, Jul 18, 2010 at 9:11 PM, LordGeoffrey wrote: > I did the upgrade. seemed okay. I a resumed doing the enlive tutorial, and > now when i : > user=> (load "tutorial/scrape1") > nil > > nothing comes back. > type returns, nothing. > type (+ 1 1), and i get: > user=> 2 There are a few timing issues with the repl task. Unfortunately the ant library we are using to launch the project's sub-JVM doesn't support stdin, so we have to use a socket repl and basically re-implement a telnet client. But there are still a few timing issues to work out with when the socket gets flushed. Unfortunately the problems aren't possible to reproduce consistently. It's tracked here: http://github.com/technomancy/leiningen/issues#issue/71 -Phil -- 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
Re: Leiningen 1.2.0 released! -- bug?
I did the upgrade. seemed okay. I a resumed doing the enlive tutorial, and now when i : user=> (load "tutorial/scrape1") nil nothing comes back. type returns, nothing. type (+ 1 1), and i get: user=> 2 Odd. From then on works as expected. Even when (load "scrape1") -- tutorial : http://github.com/swannodette/enlive-tutorial/ source for scrape1: (ns tutorial.scrape1 (:require [net.cgrand.enlive-html :as html])) (def *base-url* "http://news.ycombinator.com/";) (defn fetch-url [url] (html/html-resource (java.net.URL. url))) (defn hn-headlines [] (map html/text (html/select (fetch-url *base-url*) [:td.title :a]))) (defn hn-points [] (map html/text (html/select (fetch-url *base-url*) [:td.subtext html/first-child]))) (defn print-headlines-and-points [] (doseq [line (map #(str %1 " (" %2 ")") (hn-headlines) (hn-points))] (println line))) -- 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
Re: Leiningen 1.2.0 released!
That's really awesome. I'd like to know more about the support for working on multiple projects. On Jul 18, 5:40 pm, Phil Hagelberg wrote: > I just pushed out a new release of Leiningen, a Clojure build tool, > with lots of help from many contributors. > > This fixes the longstanding repl version bug, expands the flexibility > of plugins, adds support for working on multiple projects in parallel, > and greatly improves the documentation. > > Users of 1.1.0 can upgrade with "lein upgrade". Otherwise download the > script fromhttp://github.com/technomancy/leiningen/raw/stable/bin/lein, > place it on your $PATH and make it executable, and then run "lein > self-install" to get going. New users should check out the new > Tutorial:http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md > > A complete list of the new features and bug fixes can be found > athttp://github.com/technomancy/leiningen/blob/master/NEWS > > Enjoy! > -Phil -- 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
Re: Leiningen 1.2.0 released!
I think I speak for everyone when I say: "thank you". Devin On Jul 18, 4:40 pm, Phil Hagelberg wrote: > I just pushed out a new release of Leiningen, a Clojure build tool, > with lots of help from many contributors. > > This fixes the longstanding repl version bug, expands the flexibility > of plugins, adds support for working on multiple projects in parallel, > and greatly improves the documentation. > > Users of 1.1.0 can upgrade with "lein upgrade". Otherwise download the > script fromhttp://github.com/technomancy/leiningen/raw/stable/bin/lein, > place it on your $PATH and make it executable, and then run "lein > self-install" to get going. New users should check out the new > Tutorial:http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md > > A complete list of the new features and bug fixes can be found > athttp://github.com/technomancy/leiningen/blob/master/NEWS > > Enjoy! > -Phil -- 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
Leiningen 1.2.0 released!
I just pushed out a new release of Leiningen, a Clojure build tool, with lots of help from many contributors. This fixes the longstanding repl version bug, expands the flexibility of plugins, adds support for working on multiple projects in parallel, and greatly improves the documentation. Users of 1.1.0 can upgrade with "lein upgrade". Otherwise download the script from http://github.com/technomancy/leiningen/raw/stable/bin/lein, place it on your $PATH and make it executable, and then run "lein self-install" to get going. New users should check out the new Tutorial: http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md A complete list of the new features and bug fixes can be found at http://github.com/technomancy/leiningen/blob/master/NEWS Enjoy! -Phil -- 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