Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-58

[vfs] patch for extension and FileReplicator problems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      29007

      Description

      • if file.startWith(.) getExtension =""
        The extension is for the files which have a name.
        e.g. .bashrc c:\windows\.java c:\windows\.javaws c:\windows\.jedit
        c:\windows\.appletviewer
      • FileReplicator should not use .tmp but tmp_
        When the FileReplicator creates a temporary file the pattern should be
        tmp_name and not name.tmp as the file created is then used with an application
        that uses the extension of the file (such as a TextEditor that colorize the
        content of a file according to its extension)
      • Also FileReplicator should use java.io.File.deleteOnExit() method for the
        files for tmp files. e.g. When I used the FileReplicator I ended with more than
        100 files in the directory.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              anthony.goubard@wanadoo.nl Anthony Goubard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: