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

[vfs][PATCH] Filesets compatible with ANT in VFS tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: All
      Platform: PC

    • 32356

    Description

      Filesets in VFS tasks are not consistent with ANT filesets.
      I've upgraded the AbstractSyncTask for a minimum of compatibility with ANT
      filesets to support /**.

      This also fix a bug that it was not possible to copy a directory correctly using
      VFS tasks (Selectors.SELECT_ALL).

      When srcDir is specified the files are copied with srcDir as reference dir:
      srcDir="file://c:/hello" includes="test/Hello.java" destDir="file://c:/world"
      will result in file://c:/world/test/Hello.java instead of file://c:/world/Hello.java

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patch-tasks3.txt
          2 kB
          Anthony Goubard
        2. ASF.LICENSE.NOT.GRANTED--srcDirIsBase.diff
          4 kB
          Anthony Goubard

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: