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 194800 - Netbeans creates new Directory for open Projects, if Filesystem is not mounted
Summary: Netbeans creates new Directory for open Projects, if Filesystem is not mounted
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 08:01 UTC by larsomat
Modified: 2011-02-23 05:29 UTC (History)
0 users

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 larsomat 2011-01-28 08:01:50 UTC
I have some projects in Netbeans, that reside on mounted Filesystems (only accessible, when I'm at my clients office). Whenever I open Netbeans at home, and these Filesystem are not mounted, and I forgot to close the projects before, Netbeans creates new directories at the filepath of these projects.

This prevents the filesystem from being mounted in the same path, unless I delete all these directories by hand. This is pretty tiresome...
Comment 1 Jesse Glick 2011-01-31 15:37:13 UTC
If the path to a previously open project is nonexistent when NB starts up, it simply assumes the project was deleted and skips it; NB does not ask to recreate such a directory. Perhaps your operating system does something special with mount paths.
Comment 2 larsomat 2011-02-04 07:36:53 UTC
When Netbeans tries to open the Project, I get following Netbeans-Error: The Source folder /path/to/project cannot be restored. Please fix this problem and reopen the project.

Then the path gets created.

It's nice that it works for you on your OS, but that this happens on OSX is a valid bug IMO, and it shouldn't be closed just like that.
Comment 3 Jesse Glick 2011-02-04 17:48:24 UTC
The critical piece of information you failed to mention is that you are using a PHP project; had to grep all NB sources to find such an error message.
Comment 4 larsomat 2011-02-04 17:58:45 UTC
Sorry, I didn't know that it makes a difference in Netbeans. If you need more information, I can replicate this bug as often as I want...
Comment 5 Petr Pisl 2011-02-08 13:36:52 UTC
How is the project set up? Do you put the metadata in different place or are keep with the sources together?
Comment 6 larsomat 2011-02-08 13:51:26 UTC
I keep all my project files in a separate folder, so I can find them better.
Comment 7 Petr Pisl 2011-02-22 15:22:38 UTC
Fixed in web-main. Should be ok from the continual build #2895 at  http://bertram.netbeans.org/hudson/job/PHP-build/
Comment 8 Quality Engineering 2011-02-23 05:29:27 UTC
Integrated into 'main-golden', will be available in build *201102230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3c67151f4f96
User: Petr Pisl <ppisl@netbeans.org>
Log: #194800 - Netbeans creates new Directory for open Projects, if Filesystem is not mounted