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.
If, for whatever reason, I have e.g. this structure: - js/lib/backbone-0.9.1/backbone.js - js/lib/backbone-0.9.2/backbone.js Then in Project Properties|JavaScript files there is "backbone.js" in Selected section only once. I think it could show path/filename (at least up to the first different folder) if there are files with the same name. Product Version: NetBeans IDE Dev (Build web-main-9034-on-20121030) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
I will change it to relative paths.
(In reply to comment #1) > I will change it to relative paths. You mean relative path from project Site Root? I agree.
(In reply to comment #2) > You mean relative path from project Site Root? I agree. Yes. Another option could be just relative paths from the Library Folder (the text field) but I guess that it could be more helpful to always see all the JS libraries (files) present in project.
Relative path from project Site Root makes sense to me as developer. The only worry is that path might be too long and listbox is already quite narrow. If space should be an issue an alternative idea is to show items formatted like this: angular.js (js/lib/angular1.0) that is show path after the library name - that way user can see the library names and can scroll to see path if they need to.
Good idea, will do that.
Fixed. http://hg.netbeans.org/web-main/rev/bab8365f3007 http://hg.netbeans.org/web-main/rev/822908c10e67
Thanks, verified Product Version: NetBeans IDE Dev (Build web-main-9082-on-20121102) Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b11 System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Láďo, could you please verify also on Windows? The code expects only "/" as path separator (I hope it should be fine for ZIP files even on Windows, just want to be sure). Thanks a lot.
It is OK, JS libraries are properly recognized from ZIP template Windows 7 Product Version: NetBeans IDE Dev (Build web-main-9082-on-20121102)
Thanks a lot!
Integrated into 'main-golden', will be available in build *201211030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bab8365f3007 User: Tomas Mysik <tmysik@netbeans.org> Log: #221079 - JavaScript files in Project Properties merges files with same name