2010/7/9 Lee Spector <lspec...@hampshire.edu> > > How is the Clojure version set in Eclipse/Counterclockwise projects? I'm > still wanting to work in 1.1.0, and while my older projects are using 1.1.0 > my newer ones -- I guess maybe this changed after upgrading to > Counterclockwise 0.0.59.RC2 -- are running with 1.2.0-master-SNAPSHOT. I > don't see where I can set this when creating a new project or how to change > it for an old project. I vaguely remember seeing a way but that may very > well have been in NetBeans, which I was experimenting with a little earlier. > I imagine I could manually copy files around to make this work, but there > ought to be a better way, at least when creating a new project. >
Hi, Again, the answer is: it works with out-of-the-box Eclipse options: a clojure project is a java project. With additional goodies, but still a java project. So clojure, clojure-contrib etc. are viewed as java dependencies for the project. How do you change this ? In your project, go to Project > Properties > Java Build Path > Libraries . In this form, you can manage the dependencies of your project. That is you can remove the dependencies that have been installed by default by CCW, and point to other clojure, clojure-contrib of your choice (currently you must have not only clojure, but also clojure-contrib in your dependencies/classpath. This will disappear with the next release, as forcing every project to depend on clojure-contrib is too high a barrier). HTH, -- Laurent -- 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