ant > lein

19 views
Skip to first unread message

John D. Hume

unread,
Jun 15, 2010, 12:30:41 AM6/15/10
to clj-rec...@googlegroups.com
I pulled in macourtney's lein stuff tonight. Does this work for you?
Can we drop build.xml?

--
http://elhumidor.blogspot.com/

John D. Hume

unread,
Jun 16, 2010, 12:17:24 AM6/16/10
to clj-rec...@googlegroups.com
It was really bothering me that the lein changes came along with a
bunch of (uses-fixture ...) calls dropping and recreating tables
needlessly during the test run (since all the db tests are wrapped in
transactions anyway). I worked on that, adding a `lein reset-db` task,
but along the way I broke the ant build.

So I decided to drop the ant build, along with related cruft.

Hopefully this won't mess anyone up too badly. If it does, let me know.

So now to start fresh you git clone, lein deps, lein reset-db, lein
test, go to town. Once Leiningen has its hooks feature in a stable
release this should get simpler.

-hume.

Jim Menard

unread,
Jun 16, 2010, 11:47:44 AM6/16/10
to clj-rec...@googlegroups.com
Works great.

I see you have the swank lib as a dependency, but when I try running
"lein swank" I see:

swank is not a task. Use "help" to list all tasks.

Aha! It's because you're using swank-clojure-1.1.0.jar. The "swank"
command works if you use swank-clojure-1.2.1.jar. When I use that jar
instead, "lein swank" and M-x slime-connect work great.

Any plans/objections to upgrading to swank-clojure-1.2.1.jar?

Jim

--
Jim Menard, http://www.io.com/~jimm/

John D. Hume

unread,
Jun 17, 2010, 12:12:48 AM6/17/10
to clj-rec...@googlegroups.com
None on my part. I actually just brought in what macourtney had. I'm
not actually a swank user (yet).

--
http://elhumidor.blogspot.com/

Reply all
Reply to author
Forward
0 new messages