Fork me on GitHub
#cider
<
2016-03-15
>
malabarba04:03:55

Cider doesn't use that package, so it's coming from somewhere else.

aaelony04:03:54

hmm, thanks, I'll try to get rid of it then.

h0bbit10:03:00

I’m interested in finding out if/how I can jump into arbitrary Java code using M-.. For example, pressing M-. on java.io.StringWriter will correctly take me to the java source, but the same operation fails if I want to read the source of (say) clojure.asm.AnnotationVisitor. I assume that this has to do with classpaths and some such, I’d like to know how to fix / enable this. Any pointers would be wonderful.

otfrom10:03:49

h0bbit: I know in the old JDEE days you needed to set the CLASSPATH and the SOURCEPATH to do that, but that was soooo long ago I don't remember how to do that

malabarba11:03:36

I think sometimes you need to tell lein to actually download the sources, which it might not always do automatically. I forget the syntax for that.

malabarba11:03:08

And keep in mind that some packages simply don't make the sources available.

h0bbit15:03:48

@malabarba: I’m downloading sources using lein pom; mvn dependency:sources. The issue is getting lein to add these to the classpath without having to manually specify each and every one. I feel like there should be a way to do this

malabarba16:03:22

I think there's an option for that in your project.clj dependency vector. You wouldn't even need mvn. But I really can't recall the option name now.