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 194902 - plugin debug IDE do not delete lock file.
Summary: plugin debug IDE do not delete lock file.
Status: RESOLVED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 11:15 UTC by uspace
Modified: 2011-01-31 16:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description uspace 2011-01-31 11:15:39 UTC
Product Version = NetBeans IDE 7.0 Beta (Build 201011152355)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01

plugin debug IDE do not delete lock file. 
Then, I can not compile the plugin project.

Error message is below when I try to compile my plugin development project after Cloing the plugin development debug IDE.

taskdefs:
common-init:
projectized-common.basic-init:
basic-init:
files-init:
C:\Program Files\NetBeans 7.0 Beta\harness\common.xml:981: Will not delete C:\data\uspace_plugin\build\testuserdir because C:\data\uspace_plugin\build\testuserdir\lock still exists; kill any running process and delete lock file if necessary
BUILD FAILED (total time: 0 seconds)



If I delete the lock file, then I can compiile the plugin project.
Comment 1 Jesse Glick 2011-01-31 16:15:38 UTC
Do not use Finish Debugger as this forcibly terminates the target VM and prevents it from cleaning up its own lock file. Rather close the target app's main window (or use File > Exit etc.). Bug #193681 would make it easier to clean up if you forgot and used Finish Debugger anyway.