Warbler does not clean up temporary `jruby<timestamp>extract` files · Issue #194 · jruby/warbler · GitHub
Skip to content

Warbler does not clean up temporary jruby<timestamp>extract files #194

Open

Description

@mamantoha

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).

Activity

  1. ajf commented on Mar 1, 2015

    @ajf

    This isn't confined to windows -- we're seeing the same thing on Linux, with warbler 1.4.3 and jruby 1.7.10

  2. ryanrolland commented on Dec 16, 2016

    @ryanrolland

    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:

    1. You avoid this issue, i.e. too much disk usage.
    2. You could avoid the processor utilization to run the decompression on every invocation.
  3. sergio-fry commented on Aug 27, 2019

    @sergio-fry

    👍 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 :'-(

  4. imweijh commented on Aug 2, 2023

    @imweijh

    same issue here.
    warble created jar on windows leaving lots of temporary files

  5. mohits commented on Aug 15, 2023

    @mohits

    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.

  6. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions