Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Triggering full build on buildpath change
Triggering full build on buildpath change [message #559670] Fri, 17 September 2010 10:37
Subhash Gopalakrishnan is currently offline Subhash Gopalakrishnan
Messages: 5
Registered: July 2009
Junior Member
Hi,

How do I trigger a full build (that calls my build participants) when
the .buildpath of the project changes? I see that the ScriptBuilder's
build is being invoked but deep down, since this file does not have a
corresponding SourceModule, buildResources is simply called.

My BuildParticipant's getDependencies() gets invoked with empty
localElements, externalElements (as expected) when the .buildpath
changes, but I am not sure if I can return a FULL_BUILD response,
because I won't be able to distinguish this from all the other
invocations when other (non-SourceModule) files are edited or deleted.

What is the best way to solve this? Can I assume that empty
localElements in getDependencies indicates a buildpath change?

TIA,
Subhash
Previous Topic:How make ScriptEditor extended class the default comparison editor ?
Next Topic:How to hide custom editor until user explicitly sets it
Goto Forum:
  


Current Time: Sat Aug 30 22:26:47 EDT 2014

Powered by FUDForum. Page generated in 0.04414 seconds