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 248887 - Cannot open folder with known json file as project if everything is deactivated
Summary: Cannot open folder with known json file as project if everything is deactivated
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Features On Demand (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 248615
Blocks:
  Show dependency tree
 
Reported: 2014-11-25 14:20 UTC by Vladimir Riha
Modified: 2015-02-06 09:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (35.90 KB, text/plain)
2014-11-25 14:20 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-11-25 14:20:30 UTC
Created attachment 150693 [details]
IDE log

There is a new support for HTML5/JS projects that if some folder contains package.json or bower.json, then you can open the folder as project using Open project dialog - the folder icon becomes HTML/JS project icon (similar to Maven I think).

However if I have ergonomics and all features deactivated (aka standard situation in full distro), this does not work. The folder with known JSON file has standard folder icon and cannot be opened as project. Activating HTML/JS helps.

Thank you


(please note that at the time being, this feature is only in web-main)


Product Version: NetBeans IDE Dev (Build web-main-1580-on-20141125)
Java: 1.7.0_72; Java HotSpot(TM) Client VM 24.72-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_72-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Tomas Mysik 2014-11-25 14:28:51 UTC
Not sure if we can do anything in ProjectConvertor's code - if yes, Jardo, please let me know. Thanks.
Comment 2 Jaroslav Tulach 2014-11-26 21:27:49 UTC
Basically a feature request related to issue 248615. Couldn't be addressed before the change propagated to all repositories.
Comment 3 Jaroslav Tulach 2014-12-11 10:41:41 UTC
http://hg.netbeans.org/ergonomics/rev/8028074c1691
Comment 4 Quality Engineering 2014-12-14 05:25:45 UTC
Integrated into 'main-silver', will be available in build *201412140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8028074c1691
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #248887: Recognize and register ergonomics' own project convertors
Comment 5 Vladimir Riha 2015-02-06 09:56:18 UTC
Verified, thank you


Product Version: NetBeans IDE Dev (Build 201502060001)
Java: 1.8.0_25; Java HotSpot(TM) Client VM 25.25-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b17
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)