[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Re: How to wait for build job?
|
- From: svelganesh@xxxxxxxxx (Velganesh Subramanian)
- Date: Tue, 8 Sep 2009 03:49:56 +0000 (UTC)
- Newsgroups: eclipse.platform.rcp
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I got this snippet from Eclipse FAQ.
IJobManager jobMan = Platform.getJobManager();
Job[] build = jobMan.find(ResourcesPlugin.FAMILY_AUTO_BUILD);
if (build.length == 1)
build[0].join();
Is this the way I need to follow? Can't I detect within scheduling rules?