diff --git a/test/cryogen_core/classpath_able_io_test.repl b/test/cryogen_core/classpath_able_io_test.repl deleted file mode 100644 index 48c8724..0000000 --- a/test/cryogen_core/classpath_able_io_test.repl +++ /dev/null @@ -1,43 +0,0 @@ -TODO: to solve reading from jars: - 1. create fs - - -(FileSystems/newFileSystem - (java.net.URI. - "jar:file:/home/jem/.m2/repository/dda/dummy/0.1.0-SNAPSHOT/dummy-0.1.0-SNAPSHOT.jar") - {}) - - - 2. be able to use it - -(Files/exists - (.getPath - (FileSystems/getFileSystem - (java.net.URI. - "jar:file:/home/jem/.m2/repository/dda/dummy/0.1.0-SNAPSHOT/dummy-0.1.0-SNAPSHOT.jar")) - "dummy" - (into-array String '())) - (into-array java.nio.file.LinkOption {})) - -(some? (sut/resource-from-cp-or-fs - "not-existing-filesystem-path" - "" - "dummy")) - - -(filter - #(str/starts-with? % "dummy") - (map - #(.getName ^JarEntry %) - (enumeration-seq - (.entries - (JarFile. - (.toFile - (Paths/get - (URI. - (.getSchemeSpecificPart - (filesystem-uri - (:java-uri (resource-from-cp-or-fs - "not-existing-filesystem-path" - "" - "dummy"))))))))))))