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 80415 - "Delete Project" hangs and thus does not remove project dir
Summary: "Delete Project" hangs and thus does not remove project dir
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EAR (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: RANDOM, THREAD
Depends on:
Blocks:
 
Reported: 2006-07-17 14:25 UTC by Milan Kuchtiak
Modified: 2006-07-28 15:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
deadlock (25.26 KB, text/plain)
2006-07-18 13:46 UTC, Martin Krauskopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2006-07-17 14:25:28 UTC
Steps to reproduce.

- create EAR project
- delete war (sub)project
- delete ejb (sub)project
- delete EAR project

nbproject directory isn't removed.
Comment 1 Martin Krauskopf 2006-07-18 10:39:24 UTC
For me the deletion of EAR project (step 4) also failes since it depends on
existence of ejb's build script - and this is probably the reason why the
deletion is unsuccessfull. Not clear if the same happens to you - probably it
does(?)
Comment 2 Milan Kuchtiak 2006-07-18 11:17:06 UTC
Yes, it's the same.
Comment 3 Martin Krauskopf 2006-07-18 13:45:14 UTC
Actually the problem is that this scenario leads to sometime, relatively often
to deadlock. If it the deadlock is not reached the project is cleaned successfully.
Comment 4 Martin Krauskopf 2006-07-18 13:46:35 UTC
Created attachment 31960 [details]
deadlock
Comment 5 Martin Krauskopf 2006-07-18 14:39:11 UTC
Fixed.

ui/J2eeArchiveLogicalViewProvider.java; 1.7.2.2.2.6 -> 1.7.2.2.2.7;
Comment 6 Jindrich Sedek 2006-07-28 15:55:56 UTC
Verified NetBeans 5.5Dev 200607280000