Community
Participate
Working Groups
A compiler's system environment is lazily loaded. The builder is usually what invokes this first, so on its first build it sits at a particular % in the progress view for anywhere from a couple seconds to tens of seconds while the system environment is loaded (depending on JRE, system load, etc). To the user it looks stuck on something. At the very least we should indicate "Initializing system environment", but a better approach would be to report the progress of loading the parts. We can't just pass in an IProgressMonitor because that class doesn't exist in SDK. For fine-grained progress reporting we should add a new interface that can be passed around the init code. This would show the current eglar/mofar being loaded, as well as actually show the progress monitor increase as parts are loaded. We would only need some of the methods from IProgressMonitor in our interface. The builder's implementation would simply wrap the IProgressMonitor.
Implemented as discussed in the original comment, except that a new interface wasn't created. There was already an IBuildNotifier interface available to SDK.
Verified in 6/9/11 build