Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: other
Platform: Other
-
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