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 88561 - Please provide a way to wait for finished indexing of classpath roots
Summary: Please provide a way to wait for finished indexing of classpath roots
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: T9Y
Depends on:
Blocks:
 
Reported: 2006-11-03 08:44 UTC by Marian Mirilovic
Modified: 2007-01-17 10:09 UTC (History)
3 users (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 Marian Mirilovic 2006-11-03 08:44:06 UTC
There has been a way (used often in automated tests) to wait for scan finished :
org.netbeans.modules.javacore.JMManager.getManager().waitScanFinished();

After integrating retouche into trunk, this method gone a way and now is not
possible to wait till the indexing of classpath roots is finished. We need such
method to be called before we start to run functional tests, as well as without
this functionality we are no more able to measure UI responsiveness ;(
Comment 1 Tomas Zezula 2006-11-06 12:42:24 UTC
Checking in src/org/netbeans/api/java/source/SourceUtils.java;
/cvs/java/source/src/org/netbeans/api/java/source/SourceUtils.java,v 
<--  SourceUtils.java
new revision: 1.6; previous revision: 1.5
done
Checking in
src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v

<--  RepositoryUpdater.java
new revision: 1.8; previous revision: 1.7
done
Comment 2 Marian Mirilovic 2006-11-21 10:12:13 UTC
verified