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 67270

Summary: Defer setting of new classpath at project opening until after the projects are opened
Product: java Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: ProjectAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker CC: issues
Priority: P3 Keywords: PERFORMANCE
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Implementation

Description Antonin Nebuzelsky 2005-10-21 09:24:46 UTC
Classpath Scanning task starts too soon at project opening because during the
opening of projects the classpath is modified too soon and this triggers the CP
Scanning task.

Setting of classpath should be deffered as late as possible so that first all
the projects are open and after that CP Scanning starts.
Comment 1 Jan Lahoda 2005-10-24 14:08:10 UTC
Will try to do for 5.0.
Comment 2 Tomas Zezula 2005-12-09 14:01:24 UTC
Requires an API extension, an support class which collects project's classpaths
and puts them into the GlobalPathRegistry when all projects are opened.
Comment 3 Antonin Nebuzelsky 2005-12-12 13:42:40 UTC
OK. Please, plan this change for next release. According to numbers jlahoda
measured, this would make the project opening significantly faster (the part
with the blocking dialog box). Thanks.
Comment 4 Tomas Zezula 2005-12-12 15:18:47 UTC
No problem, I have already an implementation, but on Friday there was no 5.1 target.
Comment 5 Lukas Hasik 2008-04-10 21:37:05 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 6 Jaroslav Tulach 2008-07-22 16:47:02 UTC
Created attachment 65260 [details]
Implementation
Comment 7 Tomas Zezula 2008-07-22 16:52:43 UTC
The patch looks nice, feel free to integrate.
Comment 8 Jaroslav Tulach 2008-07-22 17:10:18 UTC
4913543cffb9