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 131292

Summary: Importing of bean to palette causes the project not to be compileable
Product: guibuilder Reporter: Jana Maleckova <janie>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: saubrecht
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jana Maleckova 2008-03-27 14:13:30 UTC
Product Version: NetBeans IDE Dev (Build 200803251204)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)

Description:
============
have cleaned & built j2se project with e.g. form class
1. invoke palette manager and choose import bean from project/jar file
2. select the project or jar, do import of form class and close palette manager
3. do clean & build -> not possible
IDE is not able to delete dist directory because of jar file which is under process

workaround:
exit ide, delete dist dir of project. Start IDE and then project is possible to clean and build
Comment 1 Lukas Hasik 2008-03-27 15:03:35 UTC
Do I understand it correctly that the clean target fails because the jar is locked? Doen't the issue disappear after a
while? 
Who is locking the file? 
Comment 2 Stanislav Aubrecht 2008-03-27 15:14:52 UTC
form designer implements this action, reassigning
Comment 3 Pavel Flaska 2008-04-01 09:55:14 UTC
Already reported, thanks for the simple test-case.

*** This issue has been marked as a duplicate of 130361 ***