Article View: borland.public.jbuilder.java.language
Article #127Re: Corrupt Zip File
From: Paul Nichols [TeamB]
Date: Wed, 05 Sep 2007 05:32
Date: Wed, 05 Sep 2007 05:32
33 lines
2479 bytes
2479 bytes
Alvin Randolph wrote: > > "Paul Nichols [TeamB]" <paul@none.com> wrote in message > news:46dd7a87$1@newsgroups.borland.com... >> Alvin Randolph wrote: >>> Hello: >>> I created a jar file made up of several class files from package >>> Importlib so I can import them to another package. Everytime I made a >>> change to one of the Importlib files. I created the jar file with >>> >>> jar cvfm importest.jar manifest.txt importlib.* >>> >>> This appeared to work, but after about 3 or 4 recreations I sometime >>> got a JBuilder6 error message >>> > >> I have noticed that on Windows, when you overwrite a file, it either >> (1) Does not overwrite or (2) becomes corrupted. So your problem may >> not be a JB problem, but a Windows problem. >> > I am using Windows XP with JBuilder6. > > I've also noticed that when I tried to run a jar file (java -cp path -jar > ... ) after having recreating 3 or 4 times, it didn't run. When I did a > table listing of the jar file (jar tf ...), the the class containing the > main method had changed from what I gave in the manifest file. > Try deleting the current jar before you build a new one, or rename the current jar file. See if that doesn't solve your problems. I have had this happen several times on Windows, not just with jar files either. Any compression algorithm seems to manifest this Windows bug.
Technical Details
Message-ID:
<46de3f6d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46dd3735$1@newsgroups.borland.com> <46dd7a87$1@newsgroups.borland.com> <46de1457$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,697ba75bea895371 X-Google-Attributes: gidf74b3,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 05 Sep 2007 01:32:30 -0400 From: "Paul Nichols [TeamB]" <paul@none.com> User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Corrupt Zip File References: <46dd3735$1@newsgroups.borland.com> <46dd7a87$1@newsgroups.borland.com> <46de1457$1@newsgroups.borland.com> In-Reply-To: <46de1457$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 76.97.213.175 Message-ID: <46de3f6d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1188970349 76.97.213.175 (4 Sep 2007 22:32:29 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail