Hi, Am 14.04.2009 um 09:12 schrieb Kei Suzuki:
Isn't the value supposed to be a simple file name? Is the format of the value up to the one who sets it?
The value is a simple file name. However up to now it was only the basename of the file. Now suppose that (:file ^some-var) says "foo.clj" and you have bar/foo.clj and frob/foo.clj. Which to choose? Also a multifile namespace might load files from a subdirectory. So constructing the filename from the namespace and the :file key does not work correctly. To remove this ambiguity the change was to provide the file name fully qualified. Depending on how the file was loaded this means: - relative to the Classpath when loaded from there - or an absolute filename when loaded via load-file. This allows to find the correct source position in 100% of the cases. In the first case, we can simply go on as before and read from the Classpath. In the second case we can access the file directly. Sincerely Meikel
smime.p7s
Description: S/MIME cryptographic signature