[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?

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?