ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon P. Ditner" <>
Subject 'get' decompressing tar.gz files on-the-fly, sometimes
Date Sat, 21 Jul 2007 13:18:10 GMT
I have a simple build file downloading a few .tar.gz files from my web
server running a stock Apache2 from Ubuntu 6.06, using Ant 1.7.0.

One command in my build.xml is:

<get src="http://myserver/project1/file1.tar.gz" dest="src/file1.tar.gz" />

And then I have a second command that is nearly identical:

<get src="http://myserver/project2/file2.tar.gz" dest="src/file2.tar.gz" />

Both file1 and file2 are tar.gz files, which I've confirmed from the
server side, as well as by downloading them using wget. The only real
difference is that file1 is 50kb, whereas file2 is 15mb.

For some bizzare reason, file2 ends up being decompressed on-the-fly, and
written as a 50mb tar file to src/file2.tar.gz

That's very nifty -- but entirely unexpected and undesired. Is there some
way to turn this off?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message