Uploaded image for project: 'Jandex'
  1. Jandex
  2. JANDEX-12

-m option does not work when temp dir is on different file system

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Final
    • 1.1.0.Final
    • None
    • Hide

      run "java -jar jandex.jar -m /path/to/something.jar" when java.io.tmpdir points to a different filesystem. It does out of the box on Fedora 18, because /tmp is a tmpfs

      Show
      run "java -jar jandex.jar -m /path/to/something.jar" when java.io.tmpdir points to a different filesystem. It does out of the box on Fedora 18, because /tmp is a tmpfs

      File.renameTo(File) does not let you move files between filesystems on Linux.

      If you use the -m option with Jandex, it will silently fail because the result is not checked, causing the original file to be deleted.

            jgreene@redhat.com Jason Greene
            rhn-support-jlivings James Livingston (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: