Skip to main content


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 14:37
Subhash Gopalakrishnan is currently offline Subhash GopalakrishnanFriend
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:Data/control flow analysis
Goto Forum:
  


Current Time: Thu Apr 18 23:59:47 GMT 2024

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

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

Back to the top