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 262817 - Relative path to project source
Summary: Relative path to project source
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 8.1
Hardware: PC Windows 10
: P4 normal (vote)
Assignee: Tomas Stupka
Depends on:
Reported: 2016-07-14 17:26 UTC by artavazd
Modified: 2016-07-15 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log (57.08 KB, text/plain)
2016-07-14 17:26 UTC, artavazd

Note You need to log in before you can comment on or make changes to this bug.
Description artavazd 2016-07-14 17:26:11 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 Pro running on amd64
Java; VM; Vendor = 1.8.0_60-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b06

Reproducibility: Happens every time

Project data stored in <My Documents> \ NetBeansProjects

  * Open Windows Desktop / This PC
  * Right-click on "Documents"
  * Select "Properties" drop-down menu item
  * Click on "Location" tab and change the location
  * When Windows suggests to move files to that new location, answer "Yes"

  IDE cannot find source files for existing projects.

  Everything should work (can be accessed) as before.

  I think the problem appeared because in "<new location> \ NetBeansProjects \ <project-name> \ nbproject \" file a relative path to the source files is used. As so, IDE calculates everything relatively to that new location while source files actually remained where there were before (usually for PHP it's "inetpub \ wwwroot \ ...". Perhaps using by default the absolute path there will correct everything?
Comment 1 artavazd 2016-07-14 17:26:20 UTC
Created attachment 160389 [details]
IDE log