[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: how to determine programmatically if auto-build has finished ?

thanks a lot.
BTW,
What environment needs to be set up to browse the tests ?
the instruction on the download page tell about how to RUN them, but I'm interested in kind of creating binary projects with linked content for them.


DJ Houghton wrote:
We do the same in our tests. Check out:

project: org.eclipse.core.tests.harness
class/method: EclipseWorkspaceTest#waitForBuild

Edoardo Comar wrote:

my plugin tests run with the default auto-build enabled.
i often do
1-  resource changes
2 - then need to wait for the build to finsih
3 - check the results.

I mimic 2 by manually invoking a build of the workspace
but I really would like just to wait until auto-build is completed.

how can I check that ?

do I need to temporarily add a resource listener that waits for an event of type POST_BUILD or is there a more straightforward way ?

TIA,
Edo