I am looking here:

https://github.com/technomancy/leiningen/blob/master/sample.project.clj

I see this:

:resource-paths ["src/main/resource"] ; non-code files included in 
classpath/jar

I am confused in 2 ways: 

1.) is this a break from java conventions? I thought Java projects tended 
to put a "resources" folder at the top level of a project, rather than 
inside of src? 

2.) how does this work? If I need a static resource compiled with my code 
then I need to do something like (clojure.java.io/resource 
"homepage.html"), yes? Does Leiningen actually compile in all static 
resources for me, if they are on the correct path? 




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