You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2005/05/17 07:20:11 UTC

DO NOT REPLY [Bug 34942] New: - [VFS] gz: protocol not consistent with zip: protocol

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34942>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34942

           Summary: [VFS] <vfs:copy> gz: protocol not consistent with zip:
                    protocol
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: hoju@visi.com


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org