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 93119

Summary: Project is not deleted correctly
Product: guibuilder Reporter: Jana Maleckova <janie>
Component: App FrameworkAssignee: issues@guibuilder <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: thread_dump

Description Jana Maleckova 2007-01-24 16:07:46 UTC
NetBeans IDE Dev (Build 070124)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b104
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
=============
Create Java Desktop Appl. (e.g. without db) and then delete it completely, check
radio button that sources should be deleted as well.
Check location where appl was created before and there you will see that appl
was not deleted completely.
File ".cvsignore" remains in location.
In some cases (not exactly reproducible) the ide gets stuck when appl is
deleted... thread dump from this is in attachment.
Comment 1 Jana Maleckova 2007-01-24 16:08:56 UTC
Created attachment 37631 [details]
thread_dump
Comment 2 Tomas Pavek 2007-01-24 16:21:52 UTC
Is it specific to Java Desktop App? Or does it happen with any project?
Comment 3 Jana Maleckova 2007-01-25 09:38:32 UTC
Yes it's specific for Desktop appl. In cmd there is exception

SEVERE [null]: getCanonicalFile() on file
D:\testing_NB\promoH\DesktopApplication9\nbproject\private\private.properties
failed. java.io.IOException: The proces
s cannot access the file because it is being used by another process

Comment 4 Tomas Pavek 2007-01-25 11:15:19 UTC
No idea. We do nothing with private.properties file. Will investigate when we 
move to trunk.

Is it the database, or basic desktop app? Is it a problem only after creating 
new project, or even if you restart the IDE?
Comment 5 Jana Maleckova 2007-01-25 11:53:03 UTC
I tested it on both ... with and without db and the result is the same.

And it's independent of IDE restarting. the same result is when project is
deleted immediately after it's creating or IDE is restarted between creating and
deleting of project.
Comment 6 Jana Maleckova 2007-03-30 09:26:55 UTC
It always happens, also in Build 070329 which is built against the trunk
Comment 7 Tomas Pavek 2007-04-03 11:15:28 UTC
The .cvsignore file should not be included in the project zip. Removed.
Comment 8 Jana Maleckova 2007-04-24 14:54:49 UTC
verified on

NetBeans IDE Dev (Build 20070424-0751)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252