How can I check if file exists in gz compress file?

2011-05-07 Thread Ben Tu
Hi, Is there a task in Ant that I can check if the file exists in myfile.tar.gz file without extracting it? Here is the content of myfile.tar.gz after extracted. Dir1/ fileA fileB dir2/ fileC I want to check if fileC exists in myfile.tar.gz without extracting myfile.tar.gz. is

Re: How can I check if file exists in gz compress file?

2011-05-07 Thread Ben Tu
thanks Nicolas. I'll look into it. 2011/5/7 Nicolas Lalevée > I think this kind of condition will do the proper job: > > > > > > > > > > Nicolas > > Le 6 mai 2011 à 19:14, Matt Benson a écrit : > > > On Fri, May 6, 2011 at 11:09 AM, Ben Tu wrote: > >> Hi, > >> > >>

Re: How can I check if file exists in gz compress file?

2011-05-07 Thread Nicolas Lalevée
I think this kind of condition will do the proper job: Nicolas Le 6 mai 2011 à 19:14, Matt Benson a écrit : > On Fri, May 6, 2011 at 11:09 AM, Ben Tu wrote: >> Hi, >> >> Is there a task in Ant that I can check if the file exists in myfile.tar.gz >> file with