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 250952 - No way to change Source Files directory
Summary: No way to change Source Files directory
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 06:08 UTC by Tomas Mysik
Modified: 2015-03-16 06:28 UTC (History)
1 user (show)

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 Tomas Mysik 2015-03-06 06:08:53 UTC
Now, when we are able to directly open a folder with composer.json, we need to allow changing Source Files directory. Also, we should show a notification that source roots has been detected and set automatically.
Comment 1 Tomas Mysik 2015-03-06 10:55:20 UTC
Should be done. Láďo, please verify it (use src dir outside of project dir, change webroot etc.) if possible. Thanks.

http://hg.netbeans.org/web-main/rev/267c411b61c8

Notification has been added as well.

http://hg.netbeans.org/web-main/rev/460b791419ed

Thanks a lot.
Comment 2 Quality Engineering 2015-03-07 08:42:17 UTC
Integrated into 'main-silver', will be available in build *201503070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/267c411b61c8
User: Tomas Mysik <tmysik@netbeans.org>
Log: #250952 - No way to change Source Files directory
Comment 3 Vladimir Riha 2015-03-13 15:42:13 UTC
Notification works just fine. The source folder seems to be fine as well but I stumbled across 1 thing. Should IDE check if source folder is already NB project? I think we cannot or don't want to prevent from selecting folder with known json file, but what about nbproject folder (from other project of course :)) ? 


Product Version: NetBeans IDE Dev (Build 201503130001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 4 Tomas Mysik 2015-03-16 06:28:51 UTC
(In reply to Vladimir Riha from comment #3)
> Should IDE check if source folder is already NB
> project?

Well, we don't do that for Unit Tests or Selenium folders - so, let's wait for the first report?

Thanks.