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 257488 - Ignored project folder
Summary: Ignored project folder
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Composer (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: REGRESSION
: 256944 (view as bug list)
Depends on: 253351
Blocks:
  Show dependency tree
 
Reported: 2016-01-08 18:03 UTC by Laul0
Modified: 2016-01-11 07:36 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (103.22 KB, text/plain)
2016-01-08 18:03 UTC, Laul0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laul0 2016-01-08 18:03:46 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.2 running on x86_64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02

Reproducibility: Happens every time

STEPS:
  * Open Git Project with a folder named "vendor" (in my case is a PHP project)
  * This folder is ignored by default and we cannot unignore it

ACTUAL:
  nothing happens

EXPECTED:
  message pops up

NOTE:
  No problem with the previous version of Netbean
Comment 1 Laul0 2016-01-08 18:03:53 UTC
Created attachment 158070 [details]
IDE log
Comment 2 Ondrej Vrabec 2016-01-08 18:35:16 UTC
What's in .gitignore file?
Comment 3 Laul0 2016-01-08 18:38:31 UTC
# Exclude every logs project but not the folder itself
!/app/foo
/app/logs/*

# Exclude every Smarty Template compiled but not the folder
!/app/template_c
/app/template_c/*

# Exclude every Smarty cache files but not the folder
!/app/cache
/app/cache/*

# Exclude every Uploaded files but not the folder
!/src/Formation/Upload
/src/Formation/Upload/*

# Exclude the NetBeans private part of project
/nbproject/private/
Comment 4 Laul0 2016-01-08 19:01:46 UTC
I precise I haven't got this issue with Netbeans 8.0.2
Comment 5 Ondrej Vrabec 2016-01-09 10:29:42 UTC
org.netbeans.modules.php.composer.SharabilityQueryImpl marks /vendor folder as NOT_SHARABLE, seems to be result of fixing bug 253351. Passing to PHP to evaluate.
Comment 6 Ondrej Vrabec 2016-01-09 10:30:17 UTC
*** Bug 256944 has been marked as a duplicate of this bug. ***
Comment 7 Tomas Mysik 2016-01-11 07:36:59 UTC
As written by Ondra, this works as designed. It should still be possible to version the vendor folder manually.

Thanks.