derkork/intellij-leiningen-plugin — pull request #9 by johnchapin (2012-03-07 20:02:15+00:00)
Title: Leiningen Plugins

I made a few changes to make sure that leiningen plugins ("~/.lein/plugins/*.jar") and the leiningen standalone jar ("~/.lein/self-installs/*.jar") get added to the same classpath as the clojure library. I did this in order to successfully load some project.clj files that include require statements before 'defproject', to use certain plugins in the project.clj itself.

I also bumped the clojure dependency to 1.2.1, to squash some java.lang.VerifyErrors when using plugin against projects with 1.2.1 and 1.3.0 clojure dependencies. I'm not sure why this was necessary, and am open to reverting the change if there is another workaround.

Regards,
-John Chapin