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 50886 - All: Open file in VCS Groups starts Scanning Project Classpaths
Summary: All: Open file in VCS Groups starts Scanning Project Classpaths
Status: CLOSED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 09:35 UTC by Peter Pis
Modified: 2007-09-26 09:14 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 Peter Pis 2004-10-27 09:35:06 UTC
System Info: 
  Product Version       = NetBeans IDE Dev (Build
200410261800)
  Operating System      = Windows XP version 5.1
running on x86
  Java; VM; Vendor      = 1.5.0_01-ea; Java
HotSpot(TM) Client VM 1.5.0_01-ea-b04; Sun
Microsystems Inc.

Steps:
1. Register new e.g. VSS veriosned directory.
2. Check out some sources from repository. 
3. Select some file node in Versioning tab of the
explorer and invoke "Inlude in VCS Group |
<Default Group>" menu action.
4. Switch to "VCS Groups" tab of the explorer and
open this file to Editor. 

After these steps "Scanning Project Classpaths"
dialog shows up.
Comment 1 Martin Entlicher 2004-10-27 10:16:02 UTC
And this is a defect? I guess it's by design, Java module probably
needs to know the classpath...
Scanning the classpath is certainly not initiated by VCS.
Comment 2 Martin Matula 2004-10-27 10:31:08 UTC
This is a correct behavior approved by UI team (Jano). If a file from
an existing project (that is not open) is opened, the classpath of the
parent project is scanned.
Comment 3 Peter Pis 2004-10-27 12:06:55 UTC
But is it correct in case there is no project open? I've only
registered new versioned directory and open file in editor using VCS
Groups.
Comment 4 Martin Matula 2004-10-27 13:07:58 UTC
It is correct if the file you opened in the editor is part of a
project (even if the project is not open).
Comment 5 Peter Pis 2005-06-17 14:34:59 UTC
Verified.