Permalink
Browse files

Add :extra-classpath-dirs to project classpaths.

  • Loading branch information...
1 parent 5be46a2 commit 18becb7a7d3ba2d3cabbf103d6f8caddcc58d120 @technomancy committed Apr 22, 2011
Showing with 5 additions and 3 deletions.
  1. +4 −3 sample.project.clj
  2. +1 −0 src/leiningen/classpath.clj
View
@@ -131,9 +131,10 @@
:test-path "src/test/clojure"
:resources-path "src/main/resource" ; non-code files included in classpath/jar
:dev-resources-path "src/test/resource" ; added to dev classpath but not jar
- :native-path "src/native" ; where to look for native dependencies
- :target-dir "target/" ; where to place the project's jar file
- :jar-name "sample.jar" ; name of the jar produced by 'lein jar'
+ :native-path "src/native" ; where to look for native dependencies
+ :target-dir "target/ " ; where to place the project's jar file
+ :extra-classpath-dirs ["script"] ; more classpath entries not included in jar
+ :jar-name "sample.jar" ; name of the jar produced by 'lein jar'
:uberjar-name "sample-standalone.jar" ; as above for uberjar
;; Options to pass to java compiler for java source
;; See http://ant.apache.org/manual/Tasks/javac.html
@@ -57,6 +57,7 @@
(:compile-path project)
(:dev-resources-path project)
(:resources-path project)]
+ (:extra-classpath-dirs project)
(checkout-deps-paths project)
(find-lib-jars project)
(user-plugins)))

0 comments on commit 18becb7

Please sign in to comment.