[Pharo-project] Extracting a ZipArchive in 2.0
Hi, I want to extract a ZipArchive in Pharo 2.0, as the title says. I'm trying to do it with this: zipArchive extractAllTo: aDirectory informing: bar overwrite: false I'm trying the new file system but my problem is that ZipArchiveMember calls a method called "assureExistence", which does not exist... anywhere. Has anyone experience something like this? Thanks, Vanessa.
try to have a look at the other ensure* methods on FileReference or AbstractFileReference. I think you need #ensureFile or #ensureDirectory :) On 2012-12-27, at 17:28, Vanessa Peña Araya <van.c.pena@gmail.com> wrote:
Hi,
I want to extract a ZipArchive in Pharo 2.0, as the title says. I'm trying to do it with this:
zipArchive extractAllTo: aDirectory informing: bar overwrite: false
I'm trying the new file system but my problem is that ZipArchiveMember calls a method called "assureExistence", which does not exist... anywhere.
Has anyone experience something like this?
Thanks, Vanessa.
Hi Camillo, Thank you for your reply. Yes, I understand, but I was wondering from the ZipArchive side. I mean, what I don't understand is if I'm using the wrong method (ZipArchive>>#extractAllTo:) or if ZipArchive is not updated to FileReference, or something else I'm not seeing :) Thanks, Vanessa. On 12/28/2012 07:38 PM, Camillo Bruni wrote:
try to have a look at the other ensure* methods on FileReference or AbstractFileReference. I think you need #ensureFile or #ensureDirectory :)
On 2012-12-27, at 17:28, Vanessa Peña Araya <van.c.pena@gmail.com> wrote:
Hi,
I want to extract a ZipArchive in Pharo 2.0, as the title says. I'm trying to do it with this:
zipArchive extractAllTo: aDirectory informing: bar overwrite: false
I'm trying the new file system but my problem is that ZipArchiveMember calls a method called "assureExistence", which does not exist... anywhere.
Has anyone experience something like this?
Thanks, Vanessa.
On Jan 2, 2013, at 6:58 PM, Vanessa Peña Araya wrote:
Hi Camillo,
Thank you for your reply.
Yes, I understand, but I was wondering from the ZipArchive side. I mean, what I don't understand is if I'm using the wrong method (ZipArchive>>#extractAllTo:) or if ZipArchive is not updated to FileReference, or something else I'm not seeing :)
Probably that ZipArchive was not updates to FileReference so can you open an issue. Stef
Thanks, Vanessa.
On 12/28/2012 07:38 PM, Camillo Bruni wrote:
try to have a look at the other ensure* methods on FileReference or AbstractFileReference. I think you need #ensureFile or #ensureDirectory :)
On 2012-12-27, at 17:28, Vanessa Peña Araya <van.c.pena@gmail.com> wrote:
Hi,
I want to extract a ZipArchive in Pharo 2.0, as the title says. I'm trying to do it with this:
zipArchive extractAllTo: aDirectory informing: bar overwrite: false
I'm trying the new file system but my problem is that ZipArchiveMember calls a method called "assureExistence", which does not exist... anywhere.
Has anyone experience something like this?
Thanks, Vanessa.
Ok, done. Thanks Stef. Vanessa. On 01/02/2013 04:18 PM, Stéphane Ducasse wrote:
On Jan 2, 2013, at 6:58 PM, Vanessa Peña Araya wrote:
Hi Camillo,
Thank you for your reply.
Yes, I understand, but I was wondering from the ZipArchive side. I mean, what I don't understand is if I'm using the wrong method (ZipArchive>>#extractAllTo:) or if ZipArchive is not updated to FileReference, or something else I'm not seeing :) Probably that ZipArchive was not updates to FileReference so can you open an issue.
Stef
Thanks, Vanessa.
On 12/28/2012 07:38 PM, Camillo Bruni wrote:
try to have a look at the other ensure* methods on FileReference or AbstractFileReference. I think you need #ensureFile or #ensureDirectory :)
On 2012-12-27, at 17:28, Vanessa Peña Araya <van.c.pena@gmail.com> wrote:
Hi,
I want to extract a ZipArchive in Pharo 2.0, as the title says. I'm trying to do it with this:
zipArchive extractAllTo: aDirectory informing: bar overwrite: false
I'm trying the new file system but my problem is that ZipArchiveMember calls a method called "assureExistence", which does not exist... anywhere.
Has anyone experience something like this?
Thanks, Vanessa.
participants (3)
-
Camillo Bruni -
Stéphane Ducasse -
Vanessa Peña Araya