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 39969 - Solve VCS mounting mechanism
Summary: Solve VCS mounting mechanism
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on: 41588
Blocks: 39560
  Show dependency tree
 
Reported: 2004-02-11 15:51 UTC by Richard Gregor
Modified: 2004-08-13 12:12 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Gregor 2004-02-11 15:51:52 UTC
due to new build system based either on local FS
or master FS we need to solve mounting.
Comment 1 Martin Entlicher 2004-04-13 12:40:49 UTC
It's necessary to solve also the persistence of VCS filesystems. We
will not have the VCS filesystems stored in Mount folder any more and
therefore AutoMountSupport will not care about us any more.

We will likely use a different folder on SystemFileSystem for storage
of FS settings, this needs to be synchronized with core and
persistence of LocalFileSystem.
Comment 2 Martin Entlicher 2004-04-14 10:22:01 UTC
The persistence of VCS Filesystems mounted into the MasterFS implemented:
/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/recognizer/CommandLineVcsFileSystemInfo.java,v
 <--  CommandLineVcsFileSystemInfo.java
new revision: 1.5; previous revision: 1.4
Comment 3 Martin Entlicher 2004-04-14 10:23:58 UTC
At the beginning, mount all registered filesystems into MasterFS,
destroy FSInfo when it's unmounted:

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/FSInfo.java,v 
<--  FSInfo.java
new revision: 1.5; previous revision: 1.4

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/FSRegistry.java,v
 <--  FSRegistry.java
new revision: 1.6; previous revision: 1.5

/cvs/vcscore/src/org/netbeans/modules/vcscore/registry/VcsFSProvider.java,v
 <--  VcsFSProvider.java
new revision: 1.3; previous revision: 1.2
Comment 4 Martin Entlicher 2004-04-14 11:11:55 UTC
Present the wizard for the concrete template if there's just one:
/cvs/vcscore/src/org/netbeans/modules/vcscore/actions/VcsMountFromTemplateAction.java,v
 <--  VcsMountFromTemplateAction.java
new revision: 1.20; previous revision: 1.19

The VcsManager is used instead of the mount action, the mount wizard
is modified to register the filesystem into the FSRegistry instead of
mounting it:

/cvs/vcscore/src/org/netbeans/modules/vcscore/resources/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.39; previous revision: 1.38

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/wizard/mount/MountWizardIterator.java,v
 <--  MountWizardIterator.java
new revision: 1.12; previous revision: 1.11