|Triggering full build on buildpath change [message #559670]
||Fri, 17 September 2010 10:37
| Subhash Gopalakrishnan
Registered: July 2009
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?
Powered by FUDForum
. Page generated in 0.02606 seconds