You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Warbler does not clean up temporary jruby<timestamp>extract files #194
We are using warbler to run an application, which is run on Windows and Linux.
After running jar, temporary files are not being deleted. We were able to reproduce the issue on Windows machine.
Biggest problem is that when running next time it creates another set of tmp files (does not override previous at least)
Eventually C:\Users\user\AppData\Local\Temp is clogged with jruby<timestamp>extract directories. Hopefully it's something easy to fix.
warbler-1.4.0.dev
jruby 1.7.4
Thank you in advance.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1446608-warbler-does-not-delete-temporary-files-on-windows?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F136961&utm_medium=issues&utm_source=github).
changed the title [-]Warbler does not delete temporary files on Windows[/-][+]Warbler does not clean up temporary `jruby<timestamp>extract` files[/+]on Aug 29, 2026
Activity
ajf commentedon Mar 1, 2015
This isn't confined to windows -- we're seeing the same thing on Linux, with warbler 1.4.3 and jruby 1.7.10
ryanrolland commentedon Dec 16, 2016
It would be nice if there was a mode to reuse the same temp exploded war directory. I can think of two benefits of this approach:
sergio-fry commentedon Aug 27, 2019
👍 I have the same issue with 2.0.5
jruby-core, jruby-stdlib files are not recycled
PS: can't reproduce on macos/linux. But my target platform is windows unfortunately :'-(
imweijh commentedon Aug 2, 2023
same issue here.
warble created jar on windows leaving lots of temporary files
mohits commentedon Aug 15, 2023
Yes that's currently the case as I also mentioned here: https://notepad.onghu.com/2021/jruby-win-day2-creating-jar-files/
You need a housekeeping job that cleans them up. You can recycle the path as linked further up in this issue.
[-]Warbler does not delete temporary files on Windows[/-][+]Warbler does not clean up temporary `jruby<timestamp>extract` files[/+]