Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Peter Taoussanis
Have just pushed a temporary fork of ns-tracker for anyone else running into the same trouble with Ring's wrap-reload: https://clojars.org/com.taoensso.forks/ns-tracker If you're going to use this, remember to add `ns-tracker` to your Lein :exclusions. -- You received this message because you

Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Peter Taoussanis
Sean, Andy: Sorry for the delay following up on this. Yes, it turns out that CLJ-932 exposes a bug in ns-tracker which is used by the standard Ring wrap-reload middleware. I'm surprised more folks haven't run into this. There's already a pull-request from last month waiting for merging: https:

Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Andy Fingerhut
On Dec 23, 2012, at 8:50 AM, Peter Taoussanis wrote: > Were any breaking changes made between alpha3 and RC1? I haven't spent much > time trying to track down causes so it's very possible I'm mistaken, but I > seem to be running into some weird behavior under RC1. > > Specifically, seem to be h

Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Andy Fingerhut
Stu: Note that Clojure 1.4.0 can be built without Maven, and with no connection to the Internet, by using the command "ant" (which runs the tests) or "ant jar" (which does not run the tests). With Clojure 1.5.0, the same is true for "ant jar", but "ant" no longer works unless you first run ./a

Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Stefan Kamphausen
Hi, On Saturday, December 22, 2012 5:09:07 PM UTC+1, Stuart Halloway wrote: > > > Please test it. > my current projects work fine with this RC. Some even seem to be a little bit faster, but I didn't profile it thoroughly. Kind regards, Stefan -- You received this message because you are su

Re: Clojure 1.5.0 RC 1

2013-01-02 Thread Stuart Halloway
Changing the way Clojure is *packaged* to meet the needs of an alien build system is the tail wagging the dog. Clojure uses the de facto Java standard (Maven) to deal with these things. Clojure's build depends on a number of plugins (maven-release-plugin, maven-source-plugin, maven-jar-plugin, ma

Re: Clojure 1.5.0 RC 1

2013-01-01 Thread Brandon Bloom
> Please test it. I just tried it out and was really bummed to discover that http://dev.clojure.org/jira/browse/CLJ-873 was not merged. That's the clojure.core// division symbol issue. It's a pretty straightforward patch that fixes a real problem for ClojureScript and a few other random librar

Re: Clojure 1.5.0 RC 1

2012-12-26 Thread Toby Crawley
I just pushed a new lein-swank release (1.4.5)[1] that should work with 1.5.0-RC1. Let me know if you have any issues with it. [1]: https://groups.google.com/d/topic/swank-clojure/WIrLw2NxuEs/discussion Jeff Dik writes: > On Sun, Dec 23, 2012 at 10:21 PM, Toby Crawley wrote: >> >> Jeff Dik writ

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jeff Dik
On Sun, Dec 23, 2012 at 10:21 PM, Toby Crawley wrote: > > Jeff Dik writes: >> >> This is also working for me with clojure 1.5.0-RC1: >> https://clojars.org/org.clojars.chouser/lein-swank > > The change to lein-swank to load the proper swank-clojure is already on > master[1] - is chouser's version

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Toby Crawley
Jeff Dik writes: > > This is also working for me with clojure 1.5.0-RC1: > https://clojars.org/org.clojars.chouser/lein-swank The change to lein-swank to load the proper swank-clojure is already on master[1] - is chouser's version just a release with that change? [1]: https://github.com/technom

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jeff Dik
On Sun, Dec 23, 2012 at 7:21 PM, Toby Crawley wrote: > > Sean Corfield writes: > >> On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis >> wrote: >>> Also `lein swank` appears to be failing on Leiningen 2.0.0-preview10: >>> Exception in thread "main" java.lang.IllegalArgumentException: No matching

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Toby Crawley
Sean Corfield writes: > On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis > wrote: >> Also `lein swank` appears to be failing on Leiningen 2.0.0-preview10: >> Exception in thread "main" java.lang.IllegalArgumentException: No matching >> ctor found for class clojure.lang.Compiler$CompilerExceptio

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Softaddicts
Jochen, Official Clojure libs including test.generative already go through a strict build process using Hudson + test matrixes against multiple JVM implementations. You are creating an RPM from components that are not managed through RPMs but through an alien build process. Do you intend to

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Softaddicts
If find this odd, these days you need remote access to install things, wether it's Maven or some RPM repos is irrelevant. Pulling RPMs by hand is a nightmare, even worse than Maven, there is a myriad of RPM dependencies out there depending on your Linux distro. Jochen, I would suggest implementi

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jochen Schmitt
On Sun, Dec 23, 2012 at 12:45:50PM -0800, Andy Fingerhut wrote: > Are there no other RPMs that require Internet access to complete their build? > > e.g. no others that use Maven to pull in dependencies before building? Dependencies should be solved by the specification of BuildRequires statement

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Andy Fingerhut
Are there no other RPMs that require Internet access to complete their build? e.g. no others that use Maven to pull in dependencies before building? If there is no provision for that, I'd open up the question to others with more experience in these matters: How would you recommend that someone c

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jochen Schmitt
On Sun, Dec 23, 2012 at 11:32:57AM -0800, Andy Fingerhut wrote: > If part of the script to build an RPM package is this command: > > ant > > then you should run the command "./antsetup.sh" just before that. Without > "./antsetup.sh" you will see the error message you> give below, because ant

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Sean Corfield
On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis wrote: > Specifically, seem to be having trouble with > `ring.middleware.reload/wrap-reload`: > Exception in thread "main" java.lang.IllegalArgumentException: contains? > not supported on type: clojure.lang.LazySeq, compiling:(routes.clj:294:3) > L

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Stuart Sierra
On Sunday, December 23, 2012 1:11:31 PM UTC-5, JSchmitt wrote: > I have tried to build a RPM package of clojure-1.5.0-RC1 > for Feodra and have got the following error message: > > test: [java] Exception in thread "main" > java.io.FileNotFoundException: Could not locate > clojure/test/generative/r

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Andy Fingerhut
If part of the script to build an RPM package is this command: ant then you should run the command "./antsetup.sh" just before that. Without "./antsetup.sh" you will see the error message you give below, because ant by itself does not pull in the necessary dependencies. Andy On Dec 23, 2012,

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Jochen Schmitt
On Sat, Dec 22, 2012 at 11:09:07AM -0500, Stuart Halloway wrote: > Please test it. It would be fantastic if as many people as possible > updated their projects and tested with the RC, so we can flush out issues > now instead of in release. I have tried to build a RPM package of clojure-1.5.0-RC1

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Peter Taoussanis
Just confirming: both issues are indeed present in beta1 (and RC1), but not alpha3. Will go over the changelog tomorrow and try track this down. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroup

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Peter Taoussanis
Both of these cases appear to relate to namespaces btw. Line 182 of swank/commands/basic.clj is the 3rd `let` form: (defslimefn load-file [file-name] (let [libs-ref @(resolve 'clojure.core/*loaded-libs*) libs @libs-ref ns-form (ns/read-file-ns-decl (java.io.File. file-name)) ns

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Alex Baranosky
I have been unable to run lein-swank since, I think, clojure-1.5.0-beta1. On Sun, Dec 23, 2012 at 8:50 AM, Peter Taoussanis wrote: > Were any breaking changes made between alpha3 and RC1? I haven't spent > much time trying to track down causes so it's very possible I'm mistaken, > but I seem to b

Re: Clojure 1.5.0 RC 1

2012-12-23 Thread Peter Taoussanis
Were any breaking changes made between alpha3 and RC1? I haven't spent much time trying to track down causes so it's very possible I'm mistaken, but I seem to be running into some weird behavior under RC1. Specifically, seem to be having trouble with `ring.middleware.reload/wrap-reload`: Except

Re: Clojure 1.5.0 RC 1

2012-12-22 Thread Joseph Smith
Awesome stuff. I'm using those threading macros already. :) --- Joseph Smith j...@uwcreations.com @solussd On Dec 22, 2012, at 1:16 PM, Denis Labaye wrote: > Is the release note here: > https://github.com/clojure/clojure/blob/master/changes.md ? > > Anyway it looks tasty: > New and Improve

Re: Clojure 1.5.0 RC 1

2012-12-22 Thread Denis Labaye
Is the release note here: https://github.com/clojure/clojure/blob/master/changes.md ? Anyway it looks tasty: - New and Improved Features: Reducers - New threading macros: - cond-> - cond->> - as-> - some-> ... On Sat, Dec 22, 2012 at 5:09 PM, Stuart Halloway wrote

Clojure 1.5.0 RC 1

2012-12-22 Thread Stuart Halloway
I just kicked off the RC1 build for Clojure. With luck, within a few hours it will show up at Maven Central [1] Please test it. It would be fantastic if as many people as possible updated their projects and tested with the RC, so we can flush out issues now instead of in release. Regards, Stu