still problem with job ... [message #443925] |
Tue, 07 February 2006 07:32 |
Eclipse User |
|
|
|
Hi all,
Hope someone can tell me what I'm doing wrong...
I have the following situation
One main job launching in a sequence few other jobs (each sub job could run
more then one job itself)
mainJob
{ ...
subJob1.shedule ();
subJob1.join ();
subJob2.shedule ();
subJob2.join ();
....
}
subJobx has got the following property set (same for the mainJob)
--> setProperty(IProgressConstants.KEEP_PROPERTY, new Boolean(true));
in this way I should be able, at the end of the process, to see in the
progress view the main job result plus the single subJob results (no info
will remain about the other jobs run by subJobx)
now everything works fine but SOME TIME the result of the subJobx is
displayed in the progress ad WAITING ... even if the mainJob has fineshed.
I have checked the result of the sunJobx, after the join calls, with the
getStatus () and always it returns zero ...
what's going on ...
subJobx has finished for sure (finally call has been called correctly) but
still the status is in waiting ...
what am I doing wrong?
Thanks
Kar
|
|
|
Powered by
FUDForum. Page generated in 0.07938 seconds