Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » still problem with job ...
still problem with job ... [message #443925] Tue, 07 February 2006 07:32
Eclipse UserFriend
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
Previous Topic:View placement problem
Next Topic:how to kill a job
Goto Forum:
  


Current Time: Sun Aug 31 12:46:58 EDT 2025

Powered by FUDForum. Page generated in 0.07938 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top