• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

is there a way to automatically keep my clojure installation up to date?

 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When I have time to work on Clojure, I always find myself downloading the most recent version. Is there a way to automatically keep my install up to date with the latest release?
 
Rancher
Posts: 379
22
Mac OS X Monad Clojure Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're using Leiningen, you can tell it your dependency is on 1.3.0-master-SNAPSHOT if you want to live right on the edge and then "lein deps" will ensure it's up-to-date.

How are you experimenting with Clojure right now? (I mean, what development tools are you using)
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sean Corfield wrote:
How are you experimenting with Clojure right now? (I mean, what development tools are you using)



My experiments have been limited to the REPL. I attempted to use the IntelliJ plugin for Clojure about 9 months ago and it didn't work out ( it hosed up intelliJ ). From what I read, that plugin is much better now.

At the time, I also attempted to work with the clojure koans, but got bogged down with the installation. It sounds like those are more advanced now too. I'll attempt that again.
 
Sean Corfield
Rancher
Posts: 379
22
Mac OS X Monad Clojure Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As an easy way to get started with Clojure, I can highly recommend Leiningen (at least for Mac / Linux - I'm not sure how good the experience is on Windows). You download one simple shell script (lein), run "lein new myprojectname" to create a folder (myprojectname) that is setup for Clojure, cd into that folder and type "lein deps" and everything is automatically downloaded (to your local Maven repository) and installed. "lein repl" starts a REPL with the libraries on your classpath. You can edit project.clj to add / update your dependencies (and run "lein deps" again) any time you want.

Yes, the IDE plugins have all improved lately. I'm only familiar with Eclipse / CounterClockWise which is getting really solid these days.
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks! I downloaded Leiningen and it works great.

The steps that got it to work on Windows are as follows:
  • Download leiningen-1.5.xxxx-win.zip and extract.
  • In command prompt, navigate to lein directory.
  • Run "lein self-install"
  • Run "lein new myProject"
  • self-install downloads leiningen-1.5.xxx-standalone.jar. This jar must be added to windows classpath.
  • add directory containing lein.bat to windows path.
  • cd to myProject directory and run "lein deps"





  •  
    Stop it! You're embarassing me! And you are embarrassing this tiny ad!
    Smokeless wood heat with a rocket mass heater
    https://woodheat.net
    reply
      Bookmark Topic Watch Topic
    • New Topic