Need advice for testing builders [message #668596] |
Fri, 06 May 2011 11:31 |
Aivar Annamaa Messages: 33 Registered: July 2009 |
Member |
|
|
I want to automatically test my plugin code (a program analysis) in 2 ways:
a) manually invoke the analysis code
b) invoke it via build system (by explicitly requesting a build)
In both cases I have trouble with automatically started builds which interfere with testing.
Is there a way for disabling automatic builds programmatically without actually removing builder from the project?
My other trouble is detecting when a build is finished -- I'm trying to test incremental building so that I first run clean build, then modify a file (triggering automatic incremental build) and check results. I tried to use following statement before checking the results (in order to synchronize with build):
Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_BUILD, null);
but it didn't help -- this statement seems to return before build is finished (or maybe even started, hard to tell).
[Updated on: Fri, 06 May 2011 11:32] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03299 seconds