Reported by hlship, May 20, 2009
The following doc for the (require) form seems to be out of date:
'require loads a lib by loading its root resource. The root resource path
is derived from the root directory path by repeating its last component
and appending '.clj'. For example, the lib 'x.y.z has root directory
<classpath>/x/y/z; root resource <classpath>/x/y/z/z.clj. The root
resource should contain code to create the lib's namespace and load any
additional lib resources.
Unless I'm missing something big, the root resource is
<classpath>/x/y/z.clj. I'm not sure how the root directory feeds into
things now. If I remember back about 6 months, an older version of Clojure
did it this way.
Converted from http://www.assembla.com/spaces/clojure/tickets/123
Attachments:
0001-Bring-documentation-for-require-up-to-date.patch - https://www.assembla.com/spaces/clojure/documents/cX-0jCw4Cr3RbzeJe5afGb/download/cX-0jCw4Cr3RbzeJe5afGb