Browse files

User plugins should take precedence on the project's classpath.

  • Loading branch information...
1 parent 4b99449 commit f88a7e413d4172b1df7bd7fd5ead0032c72095af @technomancy committed Mar 1, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/leiningen/classpath.clj
@@ -53,14 +53,14 @@
(defn get-classpath
"Answer a list of classpath entries for PROJECT."
- (concat [(:source-path project)
- (:test-path project)
+ (concat (user-plugins)
+ [(:test-path project)
+ (:source-path project)
(:compile-path project)
(:dev-resources-path project)
(:resources-path project)]
(checkout-deps-paths project)
- (find-lib-jars project)
- (user-plugins)))
+ (find-lib-jars project)))
(defn get-classpath-string [project]
(join (get-classpath project)))

2 comments on commit f88a7e4


mtyaka replied Mar 1, 2011

Hi Phil, what's the reasoning behind this change as opposed to the changes made in this commit?


technomancy replied Mar 1, 2011

Oops; I see what you mean. I forgot about the uberjar-ness of user plugins. Thanks for the reminder; I'll revert.

Please sign in to comment.