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

[VFS] no vfs_cache cleanup after ant task completed

    XMLWordPrintableJSON

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      34942

      Description

      I am attempting to use the <vfs:copy> task to grab a jar file from within a
      .tar.gz file sitting on a remote server. The problem is, the file that I get
      seems to simply be the uncompressed .tar file rather than the jar file I am
      pointing to within the .tar.gz file. I'm pretty sure I'm doing using the right
      syntax because the zip: protocol works fine for this. For instance, the
      following results in a file named log4j-1.2.9.jar, but it is 8.82meg and the ony
      way my archiver utility (WinRAR) can deal with it is if I change the name to
      log4j-1.2.9.tar...

      [vfs:v-copy] Copying
      gz:http://archive.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.tar.gz!/logging-log4j-1.2.9/dist/lib/log4j-1.2.9.jar
      to file://D:/dev/java_repository/log4j-1.2.9.jar

      In contrast to the above, using the zip: protocol results in the proper jar with
      the proper size being downloaded.

      [vfs:v-copy] Copying
      zip:http://archive.apache.org/dist/logging/log4j/1.2.9/logging-log4j-1.2.9.zip!/logging-log4j-1.2.9/dist/lib/log4j-1.2.9.jar
      to file://D:/dev/java_repository/log4j-1.2.9.jar

      Did I do something wrong with the URL I provided for the gz: protocol or is this
      truly a bug?

      Jake

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--VfsTask.java.diff
          1 kB
          Jacob Kjome
        2. ASF.LICENSE.NOT.GRANTED--test-vfs.xml
          6 kB
          Jacob Kjome
        3. ASF.LICENSE.NOT.GRANTED--test-vfs.xml
          7 kB
          Jacob Kjome
        4. ASF.LICENSE.NOT.GRANTED--test-vfs.xml
          9 kB
          Jacob Kjome
        5. ASF.LICENSE.NOT.GRANTED--antlib.xml
          0.1 kB
          Jacob Kjome
        6. ASF.LICENSE.NOT.GRANTED--antlib.xml
          0.8 kB
          Jacob Kjome

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hoju Jacob Kjome
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: