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

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?

Previous Topic:[BUILD] S-2.0.1RC3-201009100629
Next Topic:How to hide custom editor until user explicitly sets it
Goto Forum:

Current Time: Tue Sep 25 14:38:08 GMT 2018

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

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

Back to the top