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.
[dev mar 8 '01] If you add a new filesystem to the repository around the same time the projects module is being restored (tested in my case during first user start, multiuser mode, from a ModuleInstall.restored() method), then usually the filesystem will not really appear in the Filesystems tab. Occasionally it will. If you wait a couple of seconds after module restore time, it is more reliably added. Probably a synchronization problem between opening the default project and the repository. Makes it difficult to move examples dir to usersguide module: no reliable time to mount it. I could wait for the Places.Nodes.projectDesktop to change, but this will never happen if the projects module is not installed.
I am testing more synchronous project open. I don't know whether it could help here though.
Version: 'Dev' -> 3.2
Still open: I have debugging code in usersguide's UGModule, and sometimes it just adds the samples/ dir and it is OK, sometimes it has to do it a second time before it "sticks". Furthermore, javadoc is not consistently mounted, I found. Will attach patch to JavadocModule.java; if you run a full build (firststart, user start) you can see that the filesystem gets mounted, but does not appear in Javadoc tab (at least not reliably). Linking to #10294 because the outcome of that may affect testing of this bug.
Created attachment 824 [details] Patch to JavadocModule for debugging purposes
Probably of interest to Javadoc maintainers as well, though I have already filed a P1 showing how to fix the problem anyway.
Jesse is this still a projects bug? I think that now if you want to mount a filesystem regardless on a current project or installed projects module you can do it but it has to be as global. When a project is opened now it clears all mounted non-global filesystems and mounts its own. I do not know how just opening project should decide which fs remains and which not. May be it could detect start of ide in case of newly installed modules but what others projects opened later? May be it could trail project open action and mount fs after that. IMO the simplest way is to make fs global. If there is no objection I would close the bug.
Close it if in fact it works now. Note that usersguide *does* mark the filesystem it mounts global. Sometime recently, it was not working all the time as I said--from time to time it would have to remount the samples/ dir. You can easily see for yourself--if the ide.log says "Adding samples directory to Filesystems again." then the bug is still open. I have not checked very recently, so if you specifically fixed this in the past few days then close it. I will reopen if necessary.
My ide.log contains just lines below about samples directory Creating samples directory D:\userdirs\u32a\samples Adding samples directory D:\userdirs\u32a\samples to Filesystems. OK, samples directory is still in Filesystems. FS with samples appears regularly in the repository. Global filesystems are not cleared from the repository by projects module during opening module now. So I hope that it works well now.
Target milestone -> 3.2
Verified, not reproducible.
Resolved for 3.4.x or earlier, no new info since then -> closing.