| [news.eclipse.platform] Re: how to determine programmatically if auto-build has finished ? |
We do the same in our tests. Check out:
project: org.eclipse.core.tests.harness class/method: EclipseWorkspaceTest#waitForBuild
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