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
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:Command: hook in before OpenWorkspaceAction is called
Next Topic:Durable folder
Goto Forum:

Current Time: Sat Apr 21 16:06:07 GMT 2018

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

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