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 166432 - Scanning projects takes too long because of clearcase
Summary: Scanning projects takes too long because of clearcase
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: ClearCase (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-02 19:10 UTC by akochnev
Modified: 2010-06-29 12:15 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 akochnev 2009-06-02 19:10:49 UTC
When the project is being opened, clearcase attempts to check way too many files if they live inside a clearcase root
directory (e.g. files in c:\Program Files\NetBeans, c:\Documents and Settings\profilename, etc which are most definitely
not versioned (and it's unlikely that anyone would be versioning their program files or profile dir anyway). 

A potential workaround based on (what I think is) a common practice is to specify a root directory (or directories)
where clearcase content lives (e.g. snapshots directory, where all views are created). Thus, the plugin will never have
to check if it is versioning directories that are outside of those explicitly specified directories. 

Below are a few lines from my IDE log ( I've added a few debug statements to show me the commands being run) : 

About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s680\ruby\9
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s680
About to run Clearcase command : ls -long -directory C:\Documents and Settings\akochnev\.netbeans\6.7rc1\var\cache\index
About to run Clearcase command : ls -long -directory
D:\ProgramFiles\NetBeans6.7RC1\ruby2\jruby-1.2.0\lib\ruby\gems\1.8\gems\activerecord-jdbc-adapter-0.9.1\lib\jdbc_adapter
About to run Clearcase command : ls -long -directory
D:\ProgramFiles\NetBeans6.7RC1\ruby2\jruby-1.2.0\lib\ruby\gems\1.8\gems\activerecord-jdbc-adapter-0.9.1\lib\active_record
About to run Clearcase command : ls -long -directory
D:\ProgramFiles\NetBeans6.7RC1\ruby2\jruby-1.2.0\lib\ruby\gems\1.8\gems\activerecord-jdbc-adapter-0.9.1\lib\active_record\connection_adapters
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681\org-netbeans-modules-jumpto-file-FileIndexer
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681\org-netbeans-modules-jumpto-file-FileIndexer\1
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681\TaskListIndexer
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681\ruby
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681\ruby\9
About to run Clearcase command : ls -long -directory C:\Documents and
Settings\akochnev\.netbeans\6.7rc1\var\cache\index\s681
About to run Clearcase command : ls -long -directory C:\Documents and Settings\akochnev\.netbeans\6.7rc1\var\cache\index
About to run Clearcase command : ls -long -directory
D:\ProgramFiles\NetBeans6.7RC1\ruby2\jruby-1.2.0\lib\ruby\gems\1.8\gems\actionpack-2.3.2\lib
About to run Clearcase command : ls -long -directory
D:\ProgramFiles\NetBeans6.7RC1\ruby2\jruby-1.2.0\lib\ruby\gems\1.8\gems\actionpack-2.3.2\lib\action_view
About to run Clearcase command : ls -long -directory
D:\ProgramFiles\NetBeans6.7RC1\ruby2\jruby-1.2.0\lib\ruby\gems\1.8\gems\actionpack-2.3.2\lib\action_view\helpers