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.
|Summary:||Relative path to project source|
|Component:||Generic Infrastructure||Assignee:||Tomas Stupka <tstupka>|
|Issue Type:||DEFECT||Exception Reporter:|
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 STEPS: * 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" ACTUAL: IDE cannot find source files for existing projects. EXPECTED: Everything should work (can be accessed) as before. REASON I think the problem appeared because in "<new location> \ NetBeansProjects \ <project-name> \ nbproject \ project.properties" 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?