Re: [ANN] Leiningen 1.3.1

2010-09-22 Thread Eric Schulte
Phil Hagelberg p...@hagelb.org writes:

 On Mon, Sep 20, 2010 at 12:08 PM, Eric Schulte schulte.e...@gmail.com wrote:
 Having recently upgraded to this newest lein

  $ lein --version
  Leiningen 1.3.1 on Java 1.6.0_18 OpenJDK Client VM

 I notice that the lein swank command is no longer supported.

 Hi Eric!

 The swank command is not built-in to Leiningen, it's provided by the
 swank-clojure plugin. You can either add it on a per-project level by
 including it in :dev-dependencies in each project.clj or install it
 for all projects by manually placing the jar in ~/.lein/plugins.

 -Phil

Hey Phil,

So I did have swank-clojure in my dev-dependencies, but it looks like I
just hadn't yet run 'lein deps' since setting up the new project.

Thanks for the pointer (and of course for lein).

-- Eric

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

2010-09-20 Thread Eric Schulte
Hi,

Having recently upgraded to this newest lein

  $ lein --version
  Leiningen 1.3.1 on Java 1.6.0_18 OpenJDK Client VM

I notice that the lein swank command is no longer supported.

  $ lein swank
  That's not a task. Use lein help to list all tasks.

What's the recommended way to start up a clojure server to which I can
connect with slime?

Thanks -- Eric

ps. sorry for the basic question, but I've searched the lein
documentation and the mailing list for lein swank but without
success.  I very much want to continue to use lein to handle
classpath issues when starting up a clojure server.

Phil Hagelberg p...@hagelb.org writes:

 I'm pleased to announce the release of Leiningen 1.3.1. This release
 fixes a few key bugs and introduces a handful of minor features. Here
 are the highlights.

 Bug Fixes:

 * Performing a standalone install (a new feature of Leiningen 1.3.0)
 now pulls in all transitive dependencies.

 * Unreadable input won't cause issues in the repl.

 * Huge classpaths no longer cause slowdown on boot.

 * Namespaces for test and help tasks are no longer skipped if their
 first form is not a call to the ns macro.

 * Uberjar task will not proceed if compilation fails.

 New Features:

 * The shell-wrapper scripts may be customized.

 * repl task may be used outside the context of a project.

 * If :min-lein-version is set, users of an older Leiningen version
 will see a warning.

 * Dependency jar types may be specified. (test, javadoc, etc.)

 * Regexes may be used to specify namespaces in :aot list.

 We also have improved Windows support with a zip file that should get
 you everything you need:

 http://github.com/downloads/technomancy/leiningen/lein-win32.zip

 More details about the changes are at http://bit.ly/lein-news

 I'm particularly interested in the shell-wrapper functionality since
 right now it's quite awkward to create Clojure projects that are
 first-class citizens when it comes to the command-line. I think
 shell-wrappers have the potential to significantly improve the
 situation. I'm hoping to write up some more documentation on this, but
 you can see the basics under Shell Wrappers near the bottom of the
 tutorial:

 http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md

 As always, thanks to the contributors who submitted patches for this
 release: Shantanu Kumar, Colin Jones, Isaac Hodes, Alan Dipert, John
 Sanda, and Alex Ott, as well as all 47 of you who have contributed in
 the past: http://www.ohloh.net/p/leiningen/contributors

 If you'd like to be involved in the next release, I've started a
 thread with a roadmap for 1.4.0 on the Leiningen mailing list:

 
 http://groups.google.com/group/leiningen/browse_thread/thread/8352bbb974034bff

 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: [ANN] Leiningen 1.3.1

2010-09-20 Thread Phil Hagelberg
On Mon, Sep 20, 2010 at 12:08 PM, Eric Schulte schulte.e...@gmail.com wrote:
 Having recently upgraded to this newest lein

  $ lein --version
  Leiningen 1.3.1 on Java 1.6.0_18 OpenJDK Client VM

 I notice that the lein swank command is no longer supported.

Hi Eric!

The swank command is not built-in to Leiningen, it's provided by the
swank-clojure plugin. You can either add it on a per-project level by
including it in :dev-dependencies in each project.clj or install it
for all projects by manually placing the jar in ~/.lein/plugins.

-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: [ANN] Leiningen 1.3.1

2010-09-20 Thread Andrew Gwozdziewycz
On Mon, Sep 20, 2010 at 3:08 PM, Eric Schulte schulte.e...@gmail.com
wrote:
 Hi,

 Having recently upgraded to this newest lein

  $ lein --version
  Leiningen 1.3.1 on Java 1.6.0_18 OpenJDK Client VM

 I notice that the lein swank command is no longer supported.

  $ lein swank
  That's not a task. Use lein help to list all tasks.

 What's the recommended way to start up a clojure server to which I can
 connect with slime?

I don't know if it's the currently recommended way, but I'm using lein swank
with 1.3.1 without issue. Are you sure you have swank in your
:dev-dependencies?

(defproject dummy 1.0.0-SNAPSHOT
 :description FIXME: write
 :dependencies [[org.clojure/clojure 1.2.0]
[org.clojure/clojure-contrib 1.2.0]]
 *:dev-dependencies [[swank-clojure 1.2.0]]*)


-- 
http://www.apgwoz.com

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

2010-09-10 Thread lprefontaine
I solved my maven corruption problem. On if the m2 index folder was not
cleaned properly.

Luc P, 

lprefonta...@softaddicts.ca wrote ..
 Hi Phil,
 
 I upgraded to 1.3.1 but started to experience some problems with 
 my our-classe-only hook. I made it return 0 since 1.3.1 expects a numeric
 return code from the compile task but then ended up with other problems
 in the jar task.
 
 I want to revert to 1.3.0 for a few days. Any idea about the recipe
 I should follow ?
 
 I downloaded the 1.3.0 script, cleared my local maven cache but it
 lein deps always install 1.3.1. I am missing a file to clear but
 did not figured it out yet. Any clues ?
 
 I'll investigate my problems with 1.3.1 and the compile hook later next week.
 
 Thank you,
 
 Luc P.
 
 Phil Hagelberg p...@hagelb.org wrote ..
  I'm pleased to announce the release of Leiningen 1.3.1. This release
  fixes a few key bugs and introduces a handful of minor features. Here
  are the highlights.
  
  Bug Fixes:
  
  * Performing a standalone install (a new feature of Leiningen 1.3.0)
  now pulls in all transitive dependencies.
  
  * Unreadable input won't cause issues in the repl.
  
  * Huge classpaths no longer cause slowdown on boot.
  
  * Namespaces for test and help tasks are no longer skipped if their
  first form is not a call to the ns macro.
  
  * Uberjar task will not proceed if compilation fails.
  
  New Features:
  
  * The shell-wrapper scripts may be customized.
  
  * repl task may be used outside the context of a project.
  
  * If :min-lein-version is set, users of an older Leiningen version
  will see a warning.
  
  * Dependency jar types may be specified. (test, javadoc, etc.)
  
  * Regexes may be used to specify namespaces in :aot list.
  
  We also have improved Windows support with a zip file that should get
  you everything you need:
  
  http://github.com/downloads/technomancy/leiningen/lein-win32.zip
  
  More details about the changes are at http://bit.ly/lein-news
  
  I'm particularly interested in the shell-wrapper functionality since
  right now it's quite awkward to create Clojure projects that are
  first-class citizens when it comes to the command-line. I think
  shell-wrappers have the potential to significantly improve the
  situation. I'm hoping to write up some more documentation on this, but
  you can see the basics under Shell Wrappers near the bottom of the
  tutorial:
  
  http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md
  
  As always, thanks to the contributors who submitted patches for this
  release: Shantanu Kumar, Colin Jones, Isaac Hodes, Alan Dipert, John
  Sanda, and Alex Ott, as well as all 47 of you who have contributed in
  the past: http://www.ohloh.net/p/leiningen/contributors
  
  If you'd like to be involved in the next release, I've started a
  thread with a roadmap for 1.4.0 on the Leiningen mailing list:
  
 
http://groups.google.com/group/leiningen/browse_thread/thread/8352bbb974034bff
  
  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
 
 -- 
 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.3.1

2010-09-09 Thread lprefontaine
Hi Phil,

I upgraded to 1.3.1 but started to experience some problems with 
my our-classe-only hook. I made it return 0 since 1.3.1 expects a numeric
return code from the compile task but then ended up with other problems
in the jar task.

I want to revert to 1.3.0 for a few days. Any idea about the recipe
I should follow ?

I downloaded the 1.3.0 script, cleared my local maven cache but it
lein deps always install 1.3.1. I am missing a file to clear but
did not figured it out yet. Any clues ?

I'll investigate my problems with 1.3.1 and the compile hook later next week.

Thank you,

Luc P.

Phil Hagelberg p...@hagelb.org wrote ..
 I'm pleased to announce the release of Leiningen 1.3.1. This release
 fixes a few key bugs and introduces a handful of minor features. Here
 are the highlights.
 
 Bug Fixes:
 
 * Performing a standalone install (a new feature of Leiningen 1.3.0)
 now pulls in all transitive dependencies.
 
 * Unreadable input won't cause issues in the repl.
 
 * Huge classpaths no longer cause slowdown on boot.
 
 * Namespaces for test and help tasks are no longer skipped if their
 first form is not a call to the ns macro.
 
 * Uberjar task will not proceed if compilation fails.
 
 New Features:
 
 * The shell-wrapper scripts may be customized.
 
 * repl task may be used outside the context of a project.
 
 * If :min-lein-version is set, users of an older Leiningen version
 will see a warning.
 
 * Dependency jar types may be specified. (test, javadoc, etc.)
 
 * Regexes may be used to specify namespaces in :aot list.
 
 We also have improved Windows support with a zip file that should get
 you everything you need:
 
 http://github.com/downloads/technomancy/leiningen/lein-win32.zip
 
 More details about the changes are at http://bit.ly/lein-news
 
 I'm particularly interested in the shell-wrapper functionality since
 right now it's quite awkward to create Clojure projects that are
 first-class citizens when it comes to the command-line. I think
 shell-wrappers have the potential to significantly improve the
 situation. I'm hoping to write up some more documentation on this, but
 you can see the basics under Shell Wrappers near the bottom of the
 tutorial:
 
 http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md
 
 As always, thanks to the contributors who submitted patches for this
 release: Shantanu Kumar, Colin Jones, Isaac Hodes, Alan Dipert, John
 Sanda, and Alex Ott, as well as all 47 of you who have contributed in
 the past: http://www.ohloh.net/p/leiningen/contributors
 
 If you'd like to be involved in the next release, I've started a
 thread with a roadmap for 1.4.0 on the Leiningen mailing list:
 
 
 http://groups.google.com/group/leiningen/browse_thread/thread/8352bbb974034bff
 
 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

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

2010-09-08 Thread Phil Hagelberg
I'm pleased to announce the release of Leiningen 1.3.1. This release
fixes a few key bugs and introduces a handful of minor features. Here
are the highlights.

Bug Fixes:

* Performing a standalone install (a new feature of Leiningen 1.3.0)
now pulls in all transitive dependencies.

* Unreadable input won't cause issues in the repl.

* Huge classpaths no longer cause slowdown on boot.

* Namespaces for test and help tasks are no longer skipped if their
first form is not a call to the ns macro.

* Uberjar task will not proceed if compilation fails.

New Features:

* The shell-wrapper scripts may be customized.

* repl task may be used outside the context of a project.

* If :min-lein-version is set, users of an older Leiningen version
will see a warning.

* Dependency jar types may be specified. (test, javadoc, etc.)

* Regexes may be used to specify namespaces in :aot list.

We also have improved Windows support with a zip file that should get
you everything you need:

http://github.com/downloads/technomancy/leiningen/lein-win32.zip

More details about the changes are at http://bit.ly/lein-news

I'm particularly interested in the shell-wrapper functionality since
right now it's quite awkward to create Clojure projects that are
first-class citizens when it comes to the command-line. I think
shell-wrappers have the potential to significantly improve the
situation. I'm hoping to write up some more documentation on this, but
you can see the basics under Shell Wrappers near the bottom of the
tutorial:

http://github.com/technomancy/leiningen/blob/master/TUTORIAL.md

As always, thanks to the contributors who submitted patches for this
release: Shantanu Kumar, Colin Jones, Isaac Hodes, Alan Dipert, John
Sanda, and Alex Ott, as well as all 47 of you who have contributed in
the past: http://www.ohloh.net/p/leiningen/contributors

If you'd like to be involved in the next release, I've started a
thread with a roadmap for 1.4.0 on the Leiningen mailing list:


http://groups.google.com/group/leiningen/browse_thread/thread/8352bbb974034bff

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: [ANN] Leiningen 1.3.1

2010-09-08 Thread Sean Corfield
On Wed, Sep 8, 2010 at 2:05 PM, Phil Hagelberg p...@hagelb.org wrote:
 I'm pleased to announce the release of Leiningen 1.3.1.

Thanx Phil!

 * repl task may be used outside the context of a project.

Very useful!

 * Regexes may be used to specify namespaces in :aot list.

Also very useful!
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

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