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 Annamaa
Messages: 32
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: Mon Sep 15 04:18:43 GMT 2014

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

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