ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Egg" <egg...@gmail.com>
Subject Re: 'get' decompressing tar.gz files on-the-fly, sometimes
Date Sun, 22 Jul 2007 00:19:01 GMT
ha, cool

On 7/21/07, Simon P. Ditner <simon-ant@uc.org> wrote:
>
> It seems that apache2 was triggering it. I commented out 'AddEncoding
> x-gzip gz tgz' from my apache2.conf, and that seems to be enough for it
> to arrive still compressed.
>
> On Sat, 21 Jul 2007, Alex Egg wrote:
>
> > Could apache be doing it??
> >
> > On 7/21/07, Simon P. Ditner <simon-ant@uc.org> wrote:
> > >
> > > 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?
> > >
> > > Cheers,
> > > spd
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: user-help@ant.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message