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 248209 - Handle library file removal
Summary: Handle library file removal
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-27 10:57 UTC by Vladimir Riha
Modified: 2016-07-23 01:52 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 Vladimir Riha 2014-10-27 10:57:02 UTC
Please consider following:
 - add JS library to project, e.g. "angular" and close project properties
 - remove the "angular.js" folder
 - go back to project properties

=> JavaScript libraries still shows AngularJS as a valid library and to actually add it again, one must remove it first.

It would be nice if IDE would either 
 - marked the library as broken/not found (probably better)
 - or remove it from the list automatically



Thank you



Product Version: NetBeans IDE Dev (Build 201410252022)
Updates: Updates available
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Tomas Mysik 2016-07-19 13:11:21 UTC
Taking over.
Comment 2 Tomas Mysik 2016-07-21 15:01:48 UTC
Marking broken library makes sense to me, will try to look at it.

Thanks.
Comment 3 Tomas Mysik 2016-07-22 09:12:06 UTC
Should be fixed now, broken libraries are marked (in the Projects view as well as in the Project Properties dialog). Please verify, thanks.

http://hg.netbeans.org/web-main/rev/1cc52f86b990
http://hg.netbeans.org/web-main/rev/9033b52eb671
Comment 4 Quality Engineering 2016-07-23 01:52:00 UTC
Integrated into 'main-silver', will be available in build *201607230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1cc52f86b990
User: Tomas Mysik <tmysik@netbeans.org>
Log: #248209 - Handle library file removal