Community
Participate
Working Groups
In my RCP, I've added one line to "preWindowOpen(...)" function of ApplicationAdvisor class to enable the progress indicator configurer.setShowProgressIndicator(true); After that i've no problems executing User Jobs [jobObject.setUser(true)] which show a progress dialog. But in case of Automatically Trigerred Jobs, which are to be shown jus in right side in status bar's progress indicator area, progress is not at all shown. Same code works when run inside IDE, but not in a RCP :-(. There were couple of mail threads in Newsgroups, they were discussing the same problem, but without any result they had closed.
As a work around, now whenever i'm creating auto triggered jobs for the very first time before any other job [user / auto-triggered ], i create a dummy very trivial user job. After this UI shows the progress Auto-triggered jobs too. I feel this is a ugly thing to do, and need your help asap.
Debugged with John this morning and figured out that the problem is related to job scheduling in runtime. Basically, when a schedule is called within a listener a new worker thread isn't being created.
Although this bug is older, I am marking as a duplicate since I have already attached a fix to the other bug. *** This bug has been marked as a duplicate of 82146 ***
Thanks!! Can u suggest me some way , i can make this code work with my eclipse 3.1 m3. Since i've some deadlines too meet, its very difficult to wait till M5.
apply the patch attached in bug 82146.
Re: comment #4 - if you don't want to patch Eclipse, the work around you mention in comment #1 is the only solution I can think of. This problem doesn't typically appear in the Eclipse SDK because there are always a few quick jobs that run on startup, and this "kick starts" the thread pool and prevents this problem from happening. It should work as a temporary measure until a build is available with the proper fix.