Re: Questions regarding GUnzip and BUnzip2 extract methods.

2010-01-20 Thread Stefan Bodewig
On 2010-01-20, wrote: > I have a very specific question about some ant code, I hope this is the > correct place to post it. It is. > I have been using part of the ant project to unGzip and unBzip2 files as > I wanted a Java way of doing this and I stumbled across the ant classes > that implemen

Questions regarding GUnzip and BUnzip2 extract methods.

2010-01-20 Thread dan.badham
ul for deploying complex java projects to Glassfish etc and apart from this strange behavior, resulting from files that have their lastModified fields set incorrectly, that the Untar/GUnzip/BUnzip2 classes work very well indeed and have been an excellent solution to my problem. Regards

RE: Gunzip error

2009-01-22 Thread Moore, Kent
Hardcode the gunzip src value as /users/build/main/release/AIX.tgz instead of using properties. If that works, a property value likely has a tab at the end of its definition. That makes the process look for "file " instead of "file" and would explain why ANT doesn'

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
ory since the commandline sees it, (but apparently ANT doesn't?) and do the remainder of the work I have to do... but then when I try to repackage it in that location I presume it is going to cause errors again... Scot P. Floess-2 wrote: That's wierd... What a

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
d.xml:311: the >>>> archive >>>> doesn't >>>> exist >>>> >>>> One workaround I was thinking was just to tar -zxvf the file in the >>>> directory since the commandline sees it, (but apparently ANT doesn't?) >>>> an

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
Floess-2 wrote: That's wierd... What about before the gunzip call do this: I really appreciate the help! Added the few lines you requested, it appears the GZ_EXISTS variable isn't set, so apparently the gzipped file isn't "available." But

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
t;> do the remainder of the work I have to do... but then when I try to >> repackage it in that location I presume it is going to cause errors >> again... >> >> >> Scot P. Floess-2 wrote: >> > >> > >> > That's wierd... >> > &g

Re: Gunzip error

2009-01-22 Thread glenn opdycke-hansen
t apparently ANT doesn't?) and > do the remainder of the work I have to do... but then when I try to > repackage it in that location I presume it is going to cause errors > again... > > > Scot P. Floess-2 wrote: > > > > > > That's wierd... > > >

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
gt; >> Scot P. Floess-2 wrote: >> >>> OK...so permissions not a problem - next ;) >>> >>> Hmm...interesting... >>> >>> What about prior to the gunzip call do this >>> >>> >> ... >>> >>> >>

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
esn't?) and do the remainder of the work I have to do... but then when I try to repackage it in that location I presume it is going to cause errors again... Scot P. Floess-2 wrote: > > > That's wierd... > > What about

Re: Gunzip error

2009-01-22 Thread Blaine Simpson
"available." > > But I don't know why it's not available, it physically is and the > permissions seem to be okay.. > > > Scot P. Floess-2 wrote: > >> OK...so permissions not a problem - next ;) >>

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
That's wierd... What about before the gunzip call do this: I really appreciate the help! Added the few lines you requested, it appears the GZ_EXISTS variable isn't set, so apparently the gzipped file isn't "available." But I don't k

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
P. Floess-2 wrote: > > > OK...so permissions not a problem - next ;) > > Hmm...interesting... > > What about prior to the gunzip call do this > > ... > > > > > > > > > On Thu, 22 Jan 2009, Faded-Maximus w

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
OK...so permissions not a problem - next ;) Hmm...interesting... What about prior to the gunzip call do this On Thu, 22 Jan 2009, Faded-Maximus wrote: doing ls -la on the gzip file, I have -rw-rw-r-- All the parent directors show the following permissions: drwxrwxr-x

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
line. >> >> >> Scot P. Floess-2 wrote: >>> >>> >>> OK - my silly question... >>> >>> From the command line can you manually gunzip it? >>> >>> On Thu, 22 Jan 2009, Faded-Maximus wrote: >>> >>>>

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
I am able to manually unzip it via the command line. Scot P. Floess-2 wrote: OK - my silly question... From the command line can you manually gunzip it? On Thu, 22 Jan 2009, Faded-Maximus wrote: Thanks for the reply. Yes, it has read and write permissions, so it's not a permissions mist

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
It's not silly, sometimes things like that are indeed the problem. As for an answer, yes I am able to manually unzip it via the command line. Scot P. Floess-2 wrote: > > > OK - my silly question... > > From the command line can you manually gunzip it? > > On Thu,

Re: Gunzip error

2009-01-22 Thread Scot P. Floess
OK - my silly question... From the command line can you manually gunzip it? On Thu, 22 Jan 2009, Faded-Maximus wrote: Thanks for the reply. Yes, it has read and write permissions, so it's not a permissions mistake. Dale Anson wrote: Does you build user have permission to read the

Re: Gunzip error

2009-01-22 Thread Faded-Maximus
>> >> >> This is where it's failing, with that error message. The weird thing is >> the >> archive does physically exist in that location: >> >> [release]$ pwd >> /users/b

Re: Gunzip error

2009-01-22 Thread Dale Anson
gt; > > > This is where it's failing, with that error message. The weird thing is the > archive does physically exist in that location: > > [release]$ pwd > /users/build/main/release > [release]$ ls > AIX.tgz Linux.tgz > [release]$ &

Gunzip error

2009-01-22 Thread Faded-Maximus
z [release]$ Any ideas? -- View this message in context: http://www.nabble.com/Gunzip-error-tp21608282p21608282.html Sent from the Ant - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@ant.apac

Re: gunzip

2008-06-27 Thread Stefan Bodewig
On Fri, 27 Jun 2008, ext-simon steiner <[EMAIL PROTECTED]> wrote: > I have two zips and many gzips, bunzip2 and untar seem ok also, only > gunzip is a problem. gunzip simply doesn't support expanding more than one resource per task - and the manual says so. Neither does

RE: gunzip

2008-06-27 Thread ext-simon.steiner
Hi, I have two zips and many gzips, bunzip2 and untar seem ok also, only gunzip is a problem. Thanks -Original Message- From: ext Matt Benson [mailto:[EMAIL PROTECTED] Sent: 26 June 2008 22:07 To: Ant Users List Subject: Re: gunzip --- [EMAIL PROTECTED] wrote: > Hi, >

Re: gunzip

2008-06-26 Thread Matt Benson
--- [EMAIL PROTECTED] wrote: > Hi, > > This works: > > > > > > > > This doesn't, why not? > > > > > > > > I get "only single argument resource collections are > supported as > archives" I would imagine it's because you happen to have 1 .zip and > 1

gunzip

2008-06-26 Thread ext-simon.steiner
Hi, This works: This doesn't, why not? I get "only single argument resource collections are supported as archives" Thanks