Gary Trakhman
Gary Trakhman
I think it's just attempting to open a read-only input stream on a temp file, which sounds pretty normal? https://github.com/ocaml/dune/blob/d75bd885262b98075299e9145a2aa3bd1a54a35d/src/dune_rules/assets.ml#L31 https://github.com/ocaml/ocaml/blob/trunk/stdlib/stdlib.ml#L409
I would also like this, thank you for considering.
My company is considering moving some of our existing OCaml code to run on Node.js to leverage existing JS libraries. Not being able to use opam deps is a major...
I was thinking this would be a good idea. We would probably do it through the project-middleware, not a hook. We could add a task to download available source jars...
Though looks like at least downloading the deps is trivial with maven, we could skip that work: http://stackoverflow.com/a/14395560/2559313
Ah, sorry, I didn't notice before now that you had already listed the procedure for getting source deps through maven. That link's just redundant.
If we automate it at runtime instead of lein-time, loading the dependencies automatically with aether or dynapath, then we can trade off that issue for other ones :-).
If this ever gets fixed, we can use it: http://dev.clojure.org/jira/browse/CLJ-304?focusedCommentId=33864#comment-33864
I looked into what it would take to do this, unfortunately it drops through multiple abstraction layers into another project, even. For my project, it was simpler to work around...
I might investigate (when I have time) if we can re-use something from React, since I think I might be able to run this in a node context.