On Monday, January 26, 2015 at 9:24:28 PM UTC-5, Dan Harbin wrote:
>
>
>       io/file
>
>
Just delete that line.  The `io/resource` function returns a URL which all 
the Clojure IO functions can handle just fine-as is.  When running in 
development the URL happens to be a `file://` URL, and thus something 
`io/file` can handle.  Once the resource is in a JAR that is no longer the 
case, and hence exceptions.  Just don't require a file when any URL will do 
and you'll be fine.

-Marshall

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to