Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Need advice for testing builders
Need advice for testing builders [message #668596] Fri, 06 May 2011 11:31
Aivar Annamaa is currently offline Aivar AnnamaaFriend
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

Previous Topic:Refresh Workspace
Next Topic:Update Sites Down?
Goto Forum:
  


Current Time: Thu Apr 25 06:18:14 GMT 2024

Powered by FUDForum. Page generated in 0.03299 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top