I use the following helper function: (defn getResource "Load resource. This is guaranteed to work with JNLP'd jars." [resource-string] (.getResource (.getContextClassLoader (Thread/currentThread)) resource-string))
Note the comment. I had a lot of trouble loading resources when my uberjars were deployed via JNLP. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en