jasongilman / proto-repl

A Clojure Development Environment package for the Atom editor
https://atom.io/packages/proto-repl
MIT License
563 stars 50 forks source link

proto-repl:open-file-containing-var fails to copy source files #236

Closed torbjornvatn closed 7 years ago

torbjornvatn commented 7 years ago

When I run the proto-repl:open-file-containing-var command on some of the vars in my project it just opens an empty file. The output in the REPL reads:

decompressing /Users/torbjorn/.m2/repository/environ/environ/1.1.0/environ-1.1.0.jar to /Users/torbjorn/.lein/tmp-atom-jars/environ/environ/1.1.0/environ-1.1.0.jar
java.io.FileNotFoundException: /Users/torbjorn/.lein/tmp-atom-jars/environ/environ/1.1.0/environ-1.1.0.jar/META-INF/MANIFEST.MF (No such file or directory)

And the folder structure in ~/.lein/tmp-atom-jars look like this:

├── environ
│   └── environ
│       └── 1.1.0
│           └── environ-1.1.0.jar
└── org
    ├── clojars
    │   └── unacast
    │       └── datasplash
    │           └── 0.4.3
    │               └── datasplash-0.4.3.jar
    └── clojure
        ├── clojure
        │   └── 1.8.0
        │       └── clojure-1.8.0.jar
        │           ├── META-INF
        │           │   ├── MANIFEST.MF
        │           │   └── maven
        │           │       └── org.clojure
        │           │           └── clojure
        │           │               ├── pom.properties
        │           │               └── pom.xml
        │           └── clojure
        │               ├── asm
        │               │   ├── AnnotationVisitor.class
        │               │   ├── AnnotationWriter.class
        │               │   ├── Attribute.class
        │               │   ├── ByteVector.class
        │               │   ├── ClassReader.class
        │               │   ├── ClassVisitor.class

So it seems like clojure.core is the only dowloaded source.