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 139812 - Classpath scanning
Summary: Classpath scanning
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-13 16:03 UTC by rajat_rroy
Modified: 2008-08-20 10:43 UTC (History)
0 users

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 rajat_rroy 2008-07-13 16:03:51 UTC
Everytime I launch Netbeans, it scans the complete classpath, and tries to compile the source.
This makes the IDE very slow at startup, and when switching between projects.
Comment 1 Jan Lahoda 2008-07-29 20:38:30 UTC
Could you please start the ide with with command line option:
-J-Dorg.netbeans.modules.java.source.usages.RepositoryUpdater.level=0
and attach ${userdir}/var/log/messages.log. The log should contain debugging info explaining why the source is being
compile on each start. Please note that the log is likely to be quite huge.

Thanks.
Comment 2 rajat_rroy 2008-08-09 19:01:37 UTC
Is there a way to disable classpath scanning and compilation, and do them on demand ?
Comment 3 Tomas Zezula 2008-08-20 10:43:14 UTC
Cannot reproduce in NB 6.5
In the 6.1beta there was an issue which may cause not needed scan on the  IDE restart under some conditions.