Re: leiningen with latest clojure

2009-12-19 Thread Andrea Tortorella
Thanks for your answers.
Yes, I'd like to use the new branch not the master one, anyway having
this dependency in project.clj:

[org.clojure/clojure 1.1.0-new-SNAPSHOT]

and using lein repl, I still have 1.1.0-alpha-SNAPSHOT at the repl.

I added the spec to the dev-dependencies too, but still having no
success.

Andrea.

On Dec 19, 3:56 am, Alex Osborne a...@meshy.org wrote:
 defn dev...@gmail.com writes:
  On Dec 18, 7:00 am, Andrea Tortorella elian...@gmail.com wrote:
  I'd like to ask how to use leiningen with the latest clojure
  development new branch, is this possible?
  This will pull down 1.1.0-master-SNAPSHOT per the settings in
  project.clj which is as new as Dec. 18th, 16:00 at the time of writing
  this.

 I think Andrea meant the new branch rather than the master branch.
 Just use 1.1.0-new-SNAPSHOT as the version number for both clojure and
 clojure-contrib and you should be okay.  Just be aware that if you pull
 in other Clojure libraries they may be compiled against master and
 won't work against new.  This compatibility will hopefully be sorted
 out in future as slim jars (not AOT-compiled) are probably going to
 become the default in most tools.

-- 
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 with latest clojure

2009-12-19 Thread Phil Hagelberg
Andrea Tortorella elian...@gmail.com writes:

 Yes, I'd like to use the new branch not the master one, anyway having
 this dependency in project.clj:

 [org.clojure/clojure 1.1.0-new-SNAPSHOT]

 and using lein repl, I still have 1.1.0-alpha-SNAPSHOT at the repl.

That's a bug. Currently due to I/O limitations with the repl it's not
capable of being launched in a subclassloader, so it must use the same
version of Clojure as Leiningen. See Known Issues in the readme.

-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 with latest clojure

2009-12-18 Thread Andrea Tortorella
I'm new to the group, I've been following clojure development for a
while, and I want to thank rich and you all for the fantastic work.

I'd like to ask how to use leiningen with the latest clojure
development new branch, is this possible?

thanks,
Andrea Tortorella

-- 
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 with latest clojure

2009-12-18 Thread defn
Hello Andrea,

The default project.clj for a `lein new myproject` should provide you
with the latest snapshot.  Then, in the myproject directory run `lein
deps`.  This will pull down 1.1.0-master-SNAPSHOT per the settings in
project.clj which is as new as Dec. 18th, 16:00 at the time of writing
this.  I hope that helps.

Devin


On Dec 18, 7:00 am, Andrea Tortorella elian...@gmail.com wrote:
 I'm new to the group, I've been following clojure development for a
 while, and I want to thank rich and you all for the fantastic work.

 I'd like to ask how to use leiningen with the latest clojure
 development new branch, is this possible?

 thanks,
 Andrea Tortorella

-- 
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 with latest clojure

2009-12-18 Thread Alex Osborne
defn dev...@gmail.com writes:
 On Dec 18, 7:00 am, Andrea Tortorella elian...@gmail.com wrote:
 I'd like to ask how to use leiningen with the latest clojure
 development new branch, is this possible?

 This will pull down 1.1.0-master-SNAPSHOT per the settings in
 project.clj which is as new as Dec. 18th, 16:00 at the time of writing
 this.

I think Andrea meant the new branch rather than the master branch.
Just use 1.1.0-new-SNAPSHOT as the version number for both clojure and
clojure-contrib and you should be okay.  Just be aware that if you pull
in other Clojure libraries they may be compiled against master and
won't work against new.  This compatibility will hopefully be sorted
out in future as slim jars (not AOT-compiled) are probably going to
become the default in most tools.

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