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 225616 - Create new project fails when source and metadata are on different servers
Summary: Create new project fails when source and metadata are on different servers
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
: 226113 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-31 23:38 UTC by Wires77
Modified: 2015-02-04 03:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
project properties (175 bytes, application/octet-stream)
2013-02-14 13:30 UTC, Martin Kanak
Details
stacktrace (7.76 KB, text/plain)
2013-06-24 10:20 UTC, Tomas Mysik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wires77 2013-01-31 23:38:48 UTC
So I have a PHP project that is already going, located on \\MyServer\foldertree...

I create a new PHP application with existing sources and specify that folder.  The only thing I change is the checkbox to put the metadata in a separate directory (my project is shared on Git with others, so I don't want an extra folder there).  The separate directory is on \\OtherServer\.roamingProfile

I click 'Finish', changing nothing else.  NetBeans warns me about versioning when I do this, but doesn't warn me that the project won't open, giving me pop-ups saying that it can't be opened, using the directory: \\OtherServer\foldertree

This is a problem for me and causes me to not be able to use NetBeans.
Comment 1 Tomas Mysik 2013-02-12 13:34:32 UTC
Could you please try NetBeans 7.3 (RC2 available now)? Also, as a workaround, simply map your network drive to a letter, it will work.

@kanakmar: Martine, please try to reproduce it in a dev build.

Thanks.
Comment 2 Martin Kanak 2013-02-14 13:25:33 UTC
I try to reproduce this issue and there is a problem with invalid source files.

Test steps:
1) Create PHP project from existing source (sources path set to: \\vbox\Documents\prestashop)
2) Set checkbox to put Netbeans metadata into a separate directory (metadata folder path: \\NETBEANSVIRTUAL\Users\hudson\Documents\prestashop)
3) Press Finish button
4) Project is corrupted, if i open the Resolve Project Problem window, there is a 

Project problem: Invalid Source Files 
Description: The directory "\\NETBEANSVIRTUAL\Users\Documents\prestashop" does not exists and cannot be used for Source Files.

And this is the problem, source files are on this path: "\\vbox\Documents\prestashop" not on path: "\\NETBEANSVIRTUAL\Users\Documents\prestashop". It is not possible to resolve this problem manually, I cannot change the source folder to the correct one.


Product Version: NetBeans IDE Dev (Build 201302132300)
Java: 1.7.0_10; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-b18
System: Windows 8 version 6.2 running on amd64; Cp1252; en_US (nb)
Comment 3 Martin Kanak 2013-02-14 13:30:19 UTC
Created attachment 131386 [details]
project properties

in attachments there is project.properties file (see line 'src.dir=...'), maybe there is a the problem
Comment 4 Tomas Mysik 2013-02-14 13:36:53 UTC
*** Bug 226113 has been marked as a duplicate of this bug. ***
Comment 5 Tomas Mysik 2013-06-24 10:20:02 UTC
Created attachment 136205 [details]
stacktrace

creating existing PHP project on network drives
Comment 6 Tomas Mysik 2013-06-24 10:37:11 UTC
I have reported issue #231704, let's wait for its fix.

Thanks.
Comment 7 Tomas Mysik 2013-07-12 11:31:13 UTC
IMHO P4, not so common, moreover, workaround is super-easy, simply map your network drives to letters.

Thanks.
Comment 8 Quality Engineering 2015-02-04 03:31:57 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.