Sing off

-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Mark
Galbreath
Sent: Thursday, October 04, 2001 9:15 PM
To: [EMAIL PROTECTED]
Subject: This is just ridiculous....


Hasn't anybody done any recursive functions using the java.util.zip API???
I can get the last file in a directory to be included in the .zip file, but
none of the others in the directory; it appears that the stream input
overwrites whatever is there before so you end up with only one file
compressed (and when you decompress it, it isn't true!).  java.util.zip has
been around since Java 1.1; I find it hard to believe no one has done this
before.  I cannot find anything on Sun's site, nor with Google, nor in the
archives.  Is there a bug in the ZipOutputStream.putNextEntry( new
ZipEntry( file.toString())) method that prevents adding files to a .zip
catalog?  This seems outrageous!

I'm using Bruce Eckel's design pattern but it doesn't work.  Like so many
other Java gurus who write books, it appears that the authors do not test
their own code!  Let's see, now, I'll write a bunch of code that looks like
it SHOULD work, but I don't have the time to actually test it because I can
make a whole lot of $$$ getting this book out and worry about the shit that
doesn't work later....

Excuse me, please, for the rant, but I have spent thousands of $$$ on Java
(and other technologies) manuals written by guys who don't test their code
before publication and have editors who are simply numbnuts when it comes to
technology.  And this particular rant is not about bleeding-edge;
java.util.zip has been around for 4 years!

Cheers!
Mark


I am a deeply superficial person.  -Andy Warhol

This email was scanned with Norton AntiVirus 2002 before sending.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to