I have a user job that generates few html files from a given EMF model. My
application is in such a way that the EMF model is not ready until the
build job is complete.
After going through the code for 'Clean...' action (under Project menu), I
found that 'ResourcesPlugin.getWorkspace().getRuleFactory().buildRule()'
is used to check for conflicts. In my isConflicting(), I have
if (rule.getClass() == ResourcesPlugin.getWorkspace().getRuleFactory()
.buildRule().getClass())
return true;
But my job simply proceeds with its file generation logic without waiting
for build to complete. How do I make my job to wait for build job to
complete?