Hi Michael, hi Jason,

thanks for your help! I have it running now - but as I tried two
things at once, one of them being the svn update (or rather, a fresh
checkout), I cannot say if I really had the broken svn version.

I think my problem was that I used separate directories to update and
compile clojure and clojure-contrib on the one hand, and for the
compiled jars on the other hand. And I compiled clojure-contrib
against the compiled-jar-only clojure.jar location. So if source would
use this clojure.jar location (by stripping the .jar)  to get at the
sources under src/ or in the clojure-sources.jar it could of course
not have found anything.

I should have looked at the "source of source" to find out how it
works I guess :-)
Anyway my setup did not make much sense as it would have involved a
jar-copying step after every update.

Thanks again
Sigrid




On 25 Apr., 20:43, Jason Wolfe <jawo...@berkeley.edu> wrote:
> Hi,
>
> Did you update to the newest versions of clojure and clojure-contrib?
> I think the way source filenames are stored in metadata changed
> recently, and "source" was temporarily broken by this change.
>
> Cheers,
> Jason
>
> On Apr 24, 11:41 pm, Sigrid <keyd...@gmx.de> wrote:
>
> > Hi,
>
> > I'm just starting with clojure, and I cannot get to use the
> > clojure.contrib.repl-utils/source function:
>
> > user=> (use 'clojure.contrib.repl-utils)
> > nil
> > user=> (source map)
> > Source not found
> > nil
>
> > I have  the clojure-sources.jar in my classpath:
>
> > alias repl='java -cp /Users/hunli/Library/clojure/clojure.jar:/Users/
> > hunli/Library/clojure/clojure-contrib.jar:/Users/hunli/Library/clojure/
> > clojure-sources.jar clojure.lang.Repl'
>
> > Does anyone have an idea what I'm doing wrong?
>
> > thanks a lot for any help
> > Sigrid
--~--~---------~--~----~------------~-------~--~----~
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
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