[ANN] Simple De-Zipper Stack

Björnke von Gierke bvg at mac.com
Fri Aug 11 19:44:17 EDT 2006


Hello everybody

I made a test stack with the new zip capabilities, and i found out 
several things:
-It doesn't handle folders by itself, so you have to create folder 
hierarchies instead of just decompressing them.
-It does mangle permissions, namely the execute bit of an executable 
within a .app bundle (of course .exe files are unaffected). You can 
find a workaround for that in my stack.
-if you create a zip and have folders in it, you need to recursive walk 
them, or disallow folders altogether (what i did, of course then it 
wouldn't work with any bundles anymore).
-It seems very robust otherwise

What my Stack is:
-It decompresses folders, and .app bundles without hitch.
-If however the decompressed filenames already exist at the position of 
your .zip file THEY WILL BE REPLACED WITHOUT WARNING! So it's best to 
move the .zip to decompress  into it's own folder.
-It does make new zip files out of files.

What my Stack is not:
-Finished
-Able to create zips with folder in them.

All in all this new rev zip library is again way too complex, and like 
the xml library, will probably never be used by myself again.

And finally a link to the stack:
http://www.bjoernke.com/runrev/stacks.php

or, for the impatient:
http://www.bjoernke.com/stacks/de-zipper.rev

-- 

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev"




More information about the use-livecode mailing list