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 51684 - Needless items of system filesystem
Summary: Needless items of system filesystem
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 4.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 52227
  Show dependency tree
 
Reported: 2004-11-19 16:37 UTC by _ rkubacki
Modified: 2005-01-26 17:32 UTC (History)
1 user (show)

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 _ rkubacki 2004-11-19 16:37:29 UTC
sources from Nov 19

VCS modules register many items on heir layers.
Some of them are probably unneceseary. I mean icons 
vcs/resources/badgeMergeConflict.gif
vcs/resources/badgeUpToDate.gif
vcs/resources/badgeNeedsCheckout.gif
vcs/resources/badgeLocRemoved.gif
vcs/resources/badgeLocModified.gif

I am not sure if we need DTDs
vcs/config/vcs-configuration-1_1.dtd
vcs/config/configuration-1_0.dtd
Comment 1 _ pkuzel 2005-01-12 17:01:34 UTC
In SFS? cvs.xml is profile that is loaded lazily later on.
Comment 2 _ rkubacki 2005-01-12 17:16:46 UTC
I still do not know why there are these items. 

Do you need these DTDs for anything?

Re icons: they are API anyway. why not to use some tokens and map them
to resources internally? Now it only makes SFS bigger.
Comment 3 Martin Entlicher 2005-01-25 16:10:49 UTC
Moving to vcsgeneric module.
Comment 4 Martin Entlicher 2005-01-25 16:14:44 UTC
Starting to work on this, there's more possibly redundant files on SFS.
There are all class files of commands of individual VCS profiles. This
does not seem to be necessary, since the system class loader can load
classes from other modules.
The same is true for resource bundles, icons, etc.
We need to keep there just a minimum to be able to solve issue #52227.
I expect that just the XML profiles will remain there in vcs/config
folder.
Comment 5 Martin Entlicher 2005-01-26 14:13:13 UTC
Hopefully fixed for all standard profiles (CVS, PVCS, VSS).
I'll check the remaining experimental profiles also...

BTW: How can I easily list the content of SFS?

/cvs/vcsgeneric/build.xml,v  <--  build.xml
new revision: 1.73; previous revision: 1.72

/cvs/vcsgeneric/profiles/cvsprofiles/build.xml,v  <--  build.xml
new revision: 1.33; previous revision: 1.32

/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.6; previous revision: 1.5

/cvs/vcsgeneric/profiles/cvsprofiles/src/org/netbeans/modules/vcs/profiles/cvsprofiles/config/cvs.xml,v
 <--  cvs.xml
new revision: 1.126; previous revision: 1.125

/cvs/vcsgeneric/profiles/pvcs/build.xml,v  <--  build.xml
new revision: 1.24; previous revision: 1.23

/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.4; previous revision: 1.3

/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs.xml,v
 <--  pvcs.xml
new revision: 1.43; previous revision: 1.42

/cvs/vcsgeneric/profiles/vss/build.xml,v  <--  build.xml
new revision: 1.19; previous revision: 1.18

/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.6; previous revision: 1.5

/cvs/vcsgeneric/profiles/vss/src/org/netbeans/modules/vcs/profiles/vss/config/vss.xml,v
 <--  vss.xml
new revision: 1.42; previous revision: 1.41

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/CommandLineVcsFileSystem.java,v
 <--  CommandLineVcsFileSystem.java
new revision: 1.162; previous revision: 1.161

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/config/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.26; previous revision: 1.25
Comment 6 _ rkubacki 2005-01-26 14:34:32 UTC
I had some patch to traverse the content. Can't find it now but I will
need it again too to verify the bug ;-) thanks.
Comment 7 Martin Entlicher 2005-01-26 17:32:11 UTC
Fixed for experimental profiles as well:

/cvs/vcsgeneric/profiles/clearcase/build.xml,v  <--  build.xml
new revision: 1.19; previous revision: 1.18

/cvs/vcsgeneric/profiles/clearcase/src/org/netbeans/modules/vcs/profiles/clearcase/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.2; previous revision: 1.1

/cvs/vcsgeneric/profiles/starteam/build.xml,v  <--  build.xml
new revision: 1.10; previous revision: 1.9

/cvs/vcsgeneric/profiles/starteam/manifest.mf,v  <--  manifest.mf
new revision: 1.7; previous revision: 1.6

/cvs/vcsgeneric/profiles/starteam/src/org/netbeans/modules/vcs/profiles/starteam/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.2; previous revision: 1.1

/cvs/vcsgeneric/profiles/subversion/build.xml,v  <--  build.xml
new revision: 1.9; previous revision: 1.8

/cvs/vcsgeneric/profiles/subversion/src/org/netbeans/modules/vcs/profiles/subversion/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.4; previous revision: 1.3

/cvs/vcsgeneric/profiles/subversion/src/org/netbeans/modules/vcs/profiles/subversion/config/svn.xml,v
 <--  svn.xml
new revision: 1.15; previous revision: 1.14

/cvs/vcsgeneric/profiles/teamware/build.xml,v  <--  build.xml
new revision: 1.10; previous revision: 1.9

/cvs/vcsgeneric/profiles/teamware/src/org/netbeans/modules/vcs/profiles/teamware/mf-layer.xml,v
 <--  mf-layer.xml
new revision: 1.2; previous revision: 1.1