Open danielsz opened 6 years ago
So, it appears to be indeed related to data_readers.clj
. I've confirmed it in my fork.
https://github.com/danielsz/depstar/commit/abd70e29135984d92dd61ee3d8e0c6d9295e4eaf
Could it be that there is a problem around the multimethod dispatching to the :merge-edn
strategy for data_readers.clj
?
The exception comes from .getNextJarEntry
on line 90 in consume-jar
https://github.com/healthfinch/depstar/blob/master/src/hf/depstar/uberjar.clj#L90
I've run into this a lot and it always happens at the end of the JAR being consumed and it pretty much always seems to be data_readers.clj
in some Clojure JAR.
In my fork, I wrapped the .getNextJarEntry
call in (try ... (catch Exception _))
and everything seems to work just fine...
See PR #9 (feel free to use my fork @danielsz as I plan to keep it well-maintained, given that we're relying on this heavily at work now).
Thank you, @seancorfield . That is good to know. Had I known about it at the time I was trying to make things work, I probably wouldn't have written Meyvn, but that's OK, Meyvn turned out quite capable on its own.
In case other folks try to use the Healthfinch version and trip over this: the well-maintained fork is here https://github.com/seancorfield/depstar
I'm running the following
Which results in a Stream closed exception. It seems to be stumbling on
data_readers.clj
from a dependency, but that's just a guess. Any idea?