Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to open i/o streams on URI and JAR resources #947

Closed
mfikes opened this issue Jun 1, 2019 · 0 comments · Fixed by #948

Comments

@mfikes
Copy link
Member

commented Jun 1, 2019

$ plk -Sdeps '{:deps {andare {:mvn/version "0.10.0"}}}'
ClojureScript 1.10.520
cljs.user=> (require '[planck.io :as io])
nil
cljs.user=> (io/resource "META-INF/maven/andare/andare/pom.properties")
#object[Object jar:file%3a/Users/mfikes/.m2/repository/andare/andare/0.10.0/andare-0.10.0.jar!/META-INF/maven/andare/andare/pom.properties]
cljs.user=> (io/input-stream *1)
Execution error (ExceptionInfo) at (<cljs repl>:1).
Cannot open <#object[Object jar:file%3a/Users/mfikes/.m2/repository/andare/andare/0.10.0/andare-0.10.0.jar!/META-INF/maven/andare/andare/pom.properties]> as an InputStream.

@mfikes mfikes self-assigned this Jun 1, 2019

@mfikes mfikes changed the title Ability to open input stream on JAR resource Ability to open input stream on URI and JAR resource Jun 1, 2019

@mfikes mfikes changed the title Ability to open input stream on URI and JAR resource Ability to open i/o stream on URI and JAR resource Jun 1, 2019

@mfikes mfikes changed the title Ability to open i/o stream on URI and JAR resource Ability to open i/o streams on URI and JAR resources Jun 1, 2019

mfikes added a commit that referenced this issue Jun 1, 2019
mfikes added a commit that referenced this issue Jun 2, 2019
mfikes added a commit that referenced this issue Jun 2, 2019

@mfikes mfikes closed this in #948 Jun 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.