leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
plexus 2019-05-06T13:54:30.046700Z

I'm having an issue where doing lein jar or lein uberjar on a project never finishes, but instead creates a jar that just keeps getting bigger indefinitely (I've let it run up to 40GB, whereas the resulting jar should only be 100MB)

plexus 2019-05-06T13:55:19.047700Z

anyone ever seen such a thing? I have no idea how to start debugging this... I also can't see what Leiningen is stuffing in there, because when I interrupt it the result is not a valid jar/zip

alexmiller 2019-05-06T13:59:15.049100Z

something similar to this was discussed in recent past, maybe in #leiningen - something like recursively including the results of the jar process in the jar? I don't remember the details.

plexus 2019-05-06T14:01:47.049600Z

thanks, I'll see what I can find... seems it doesn't happen when AOT is disabled

alexmiller 2019-05-06T14:02:43.050Z

it was something to do with which directories were getting included

plexus 2019-05-06T14:06:53.050400Z

this seems to be the same or a similar issue: https://github.com/bhauman/figwheel-main/issues/134

alexmiller 2019-05-06T14:07:05.050700Z

yeah

alexmiller 2019-05-06T14:07:31.051400Z

target is where .class output goes so could be aot-specific

plexus 2019-05-06T14:07:44.051700Z

taking "target" out of :resource-paths now, I'm guessing that will fix it

plexus 2019-05-06T14:08:25.052300Z

just migrated this project to figwheel-main, which must've been why I added target there

plexus 2019-05-06T14:08:39.052600Z

yay, it worked 🙂 thanks @alexmiller