Re: Classpath problem with Java interop and Leiningen

2012-06-13 Thread Denis Vulinovich
Thanks for all the help, guys. Because Laurent's suggesting of calling "sample/bar.clj" instead of "sample.bar.clj" in loadResourceScript() seemed the easiest, I tried that first and it worked. So it looks like in that method you have to specify the path the file, relative to the src directory, ra

Classpath problem with Java interop and Leiningen

2012-06-12 Thread Denis Vulinovich
I'm fairly new to Clojure and Java. When I try to call Clojure code from Java, I get an error "java.io.FileNotFoundException: Could not locate Clojure resource on classpath: bar.clj". I've created a simple project in Eclipse with one Java file: package sample; import clojure.lang.*; public class