Just s guess: Maybe the classpath is absolute in one case and relative in
the other.

On 07 Nov 2013 7:15 PM, "Phillip Lord" <phillip.l...@newcastle.ac.uk> wrote:
>
>
> I find myself confused by the metadata on a var. Consider this code:
>
> (def a-test-var 10)
>
> (pritnln (meta #'a-test-var))
>
> Now when run under "lein test" (by stuffing it into a test namespace), I
> get this....
>
>
> {:ns #<Namespace tawny.util-test>, :name a-test-var, :column 1, :line
102, :file tawny/util_test.clj}
>
>
> But, when evaled in a live REPL I get this...
>
>
> {:ns #<Namespace tawny.util-test>, :name a-test-var, :column 1, :line
102, :file
"/home/phillord/src/knowledge/tawny-owl/test/tawny/util_test.clj"}
>
>
> So, how come the :file is fully qualified in one case, and relative in
> the other?
>
> Phil
>
> --
> --
> 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/groups/opt_out.

-- 
-- 
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/groups/opt_out.

Reply via email to