pmf <phil.fr...@gmx.de> writes:

Hi!

> On Jun 19, 12:52 pm, Tassilo Horn <tass...@member.fsf.org> wrote:
>>   foo/bar/baz.clj
>>   foo/bar/i1.png
>>   foo/bar/i2.png
>>
>> I tried (ClassLoader/getSystemResource "i1.png"), but that looks
>> somewhere in the clojure location, not my apps location...
>
> The right thought,

I'm very happy I wan't too wrong. :-)

> but you need to use the full relative path to the resource:
> "foo/bar/i1.png"

Indeed, then it works!

Thanks a lot,
Tassilo

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to