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 - Defer setting of new classpath at project opening until after the projects are opened
Summary: Defer setting of new classpath at project opening until after the projects ar...
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
Depends on:
Reported: 2005-10-21 09:24 UTC by Antonin Nebuzelsky
Modified: 2008-07-22 17:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

Implementation (3.78 KB, patch)
2008-07-22 16:47 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
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