This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 73748 - ant.jar is corrupted
Summary: ant.jar is corrupted
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
: 73749 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-20 09:48 UTC by Dan Kolar
Modified: 2006-03-22 09:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
message.log (15.01 KB, text/plain)
2006-03-20 09:50 UTC, Dan Kolar
Details
Image of error (235.22 KB, image/jpeg)
2006-03-20 17:03 UTC, Dan Kolar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kolar 2006-03-20 09:48:36 UTC
build 200603200300    jdk1.5_0_06fcs

1) Create Java Application or Web Project
2) All compilation & son fails on these project, and on pened project as well
Comment 1 Dan Kolar 2006-03-20 09:50:39 UTC
Created attachment 29305 [details]
message.log
Comment 2 Jesse Glick 2006-03-20 16:42:18 UTC
Looks like your NB installation has been corrupted somehow - can't even guess
how. Try deleting it and reinstalling.
Comment 3 Dan Kolar 2006-03-20 17:01:31 UTC
I've uninstalled NB, deleted user dir and installed again.
Works exactly in a same way, sorry. 
Tested also on other machine with Win XP and again it worked.
Try it on Win XP.
Comment 4 Dan Kolar 2006-03-20 17:03:39 UTC
Created attachment 29315 [details]
Image of error
Comment 5 Jesse Glick 2006-03-20 17:21:44 UTC
Perhaps someone from QA with XP can confirm or deny... could be a broken
installer? AFAIK "raw" archive downloads are not available for download for 5.5
preview so harder to verify whether the installer is at fault. Error very likely
has nothing to do with source code of IDE as such.
Comment 6 Dan Kolar 2006-03-21 08:51:16 UTC
Windows installator for build 200603200300 and 200603210300 is corrupted, zip 
version of NetBeans builds normally.
Comment 7 mslama 2006-03-21 10:08:28 UTC
I will look at it. On Friday we started to use pack200 to pack unsigned jars for
installer. It could be reason.
Comment 8 mslama 2006-03-21 16:13:50 UTC
Fixed in main trunk and branch 'release55'. When packer property
Packer.SEGMENT_LIMIT is set to "-1" packer corrupts ant.jar from lib directory
of ant 1.6.5.

Modified:
installer/lib/packjars/src/org/netbeans/installer/PackJars.java
new revision: 1.3; previous revision: 1.2

installer/lib/packjars/src/org/netbeans/installer/PackJars.java
new revision: 1.1.2.3; previous revision: 1.1.2.2

This fixes this problem. But we still cannot be sure all classes are ok. I filed
separate task #73830 to verify all IDE classes after pack/unpack.
Comment 9 mslama 2006-03-21 16:28:10 UTC
*** Issue 73749 has been marked as a duplicate of this issue. ***
Comment 10 Dan Kolar 2006-03-22 09:01:53 UTC
verified build 200603220300