Commons VFS
  1. Commons VFS
  2. VFS-11

[VFS] copyFrom keep the file with imaginary type

    Details

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

      Operating System: other
      Platform: Other

      Description

      If you copy a file to a file that did not exist using the FileObject.copyFrom
      method then the destination file is created but it's status is still imaginary.

      I had the problem when using the <v-copy> task to copy the content of war file
      to a file system with the keepladtmodifiedtime option. Because the file was
      still imaginary after the copy the SetLastModified method failed.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Anthony Goubard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development