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 21978 - Why there is ModuleInstall?
Summary: Why there is ModuleInstall?
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Martin Entlicher
Depends on:
Blocks: 21676
  Show dependency tree
Reported: 2002-03-29 14:48 UTC by Jaroslav Tulach
Modified: 2003-07-01 12:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-03-29 14:48:42 UTC
As part of issue 21676 I have investigated what will happen when
ModuleInstall.restore of modules will be called but nothing else. Applied the
patch in issue 21676 and started the IDE with 

-J-Dskip.toolbars=true -J-Dskip.loaders=true -J-Dskip.shortcuts=true

Following classes has been loaded, please investigate why and make sure that
they will not:

Comment 1 Martin Entlicher 2002-04-02 19:05:51 UTC
Reassigning ...
Comment 2 Martin Entlicher 2002-04-03 08:49:05 UTC
The module installs are probably a relict from the past. Starting to
work on it...
Comment 3 Martin Entlicher 2002-04-03 11:12:29 UTC
org.netbeans.modules.vcscore.VcsCoreModuleInstall removed, references
to Debug class removed.

org.netbeans.modules.vcs.advanced.CommandLineVcsModule is there to
assure, that all changed FS properties will be written before the IDE
exits. This way was suggested by someone.

If this is not the correct approach, please reopen and describe an
alternate approach. Thanks.
Comment 4 Jiri Kovalsky 2002-04-04 10:51:38 UTC
I believe Yarda will reopen the issue, if the used solution does not
satisfy him ... :-)
Comment 5 Jaroslav Tulach 2002-04-13 14:22:56 UTC
Verified that all has been fixed except the CommandLineVcsModule.

I believe that one can now ensure that the IDE will not exit by
holding a FileLock to some file in system file system. So if you know
that you should rewrite the filesystem configuration file, hold a lock
and the IDE will not finish.
Comment 6 Martin Entlicher 2002-04-15 16:47:56 UTC
O.K., I'll try to use the FileLock. Starting to work on it...

Comment 7 Martin Entlicher 2002-04-15 17:29:55 UTC
Fixed via holding FileLock in dev build Apr 16.
ModuleInstall class removed.

Comment 8 Jiri Kovalsky 2002-05-10 10:37:49 UTC
Okay, verified in development build #200205090100 of NetBeans 3.4.
Comment 9 Quality Engineering 2003-07-01 12:56:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.