Community
Participate
Working Groups
Eclipse 3.3M2 I have a schedule set up to syncronize to CVS every so often. After a while when I look at the Progress view I see tons of jobs sitting there in 'Sleeping' mode. I'll attach a screen shot.
Created attachment 52847 [details] Progress view Normally I have the schedule set to 1 hour but for demonstration purposes I set it to every 5 minutes. I just discovered that when I click on 'Remove all finished operations' they all go away even though the square red 'cancel' icon indicates to me that they're not finished. If I press on the red cancel icon, the job changes from "(Sleeping)" to "(Cancelled)" but immediately a new "(Sleeping)" one comes up. Very strange.
We set the KEEP_ONE Property so only one instance of the Job should be kept in the view. I suspect the issue may be related to the fact that we reschedule the job when it finishes running. This may throw off the Progress view and cause it to keep the extra entries around.
The problem is that the CVS Job constantly creates new groups and then marks them as keep one From RefreshParticipantJob IProgressMonitor group = Platform.getJobManager().createProgressGroup(); group.beginTask(taskName, 100); setProgressGroup(group, 80); handleProgressGroupSet(group, 20); setProperty(IProgressConstants.KEEPONE_PROPERTY, Boolean.valueOf(! isJobModal())); By resetting the group all of the time and then saying it needs to keep one I keep the result and then it gets rescheduled
Seen that too. Also, turning off the schedule will mark all "(Sleeping)" jobs as "(Finished)".
See Bug 167294 for the sleeping jobs issue (which is unrelated to this)
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.