Maybe try
(ns my (:require [clojure.contrib.classpath :as cp]))
(cp.classpath)

On Jan 24, 5:28 pm, Manfred Lotz <manfred.l...@arcor.de> wrote:
> Hi all,
> I'm stumbling about the very basics.
>
> Calling clojure like this:
>
> rlwrap java
> -cp 
> /home/manfred/clojure/clojure.jar:/home/manfred/clojure/clojure-contrib.jar
> clojure.main
>
> I try:
>
> user=> (ns my (:require clojure.contrib.classpath))
> nil
> my=>
>
> which to me looks fine.
>
> But why does this fail?
>
> my=> (classpath)
> java.lang.Exception: Unable to resolve symbol: classpath in this
> context (NO_SOURCE_FILE:2)
>
> --
> Hope it is not too much stupidity on my side,
> Manfred

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