[Q] What is the reason for raise one error trying to save a new file ?

Ned Konz ned at squeakland.org
Sun Nov 7 16:05:53 UTC 2004


On Sunday 07 November 2004 1:17 am, Lic. Edgar J. De Cleene wrote:
> On 06/11/04 11:56, "Ned Konz" <ned at squeakland.org> wrote:
> > zip := ZipArchive new.
> > text := 'this is a test '.
> >
> > 1 to: 4 do: [ :n | zip addMember: ((ZipStringMember newFrom: (text, n
> > printString) named: n printString) desiredCompressionMethod: ZipArchive
> > compressionDeflated; yourself) ].
> >
> > zip writeToFileNamed: 'xxx.zip'.
>
> Well, I admit totally lost.
> Not only your exercise works.
> Mine previous now works.
> I hope fail do not is for using some of testing VM John have.
> I elaborate more for see when this happen.
>
> By the way, image is Squeak3.7-5988
>
> Also , related to you work , I have problems when wish add a complete
> directory to a Zip, files add, but do not keep correct path identification.

That's easy to do; just add the files and rename the members.

> You are the actual owner / maintainer of SarBuilder ?

yes.

> If so , I could email directly about changes / features for version 9 ?

Sure. I need to update that as well as all my other packages.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list