|IncrementalProjectBuilder delta - leave it for the next time? [message #695224]
||Mon, 11 July 2011 10:11
| Timotei D
Registered: March 2010
I've seen that the IncremenetalProjectBuilder has the method:
protected IProject build( ... )
The javadoc says we can return projects not processed.
However, I have the following situation: When doing a non-full build there is a chance that some files were not processed (by my plugin) due to different constraints. I would like to leave those files in the "unprocessed" (added/removed/changed) state, for the next project build call. Is that possible?
So, for example, I have the files: project/myfile, project/otherfile.
I would process the myfile, but otherfile NOT. The next time I get a build call (say, with other changes also), I'd like to get the "otherfile" in the delta again. Is that possible?
One thing I thought, is to memorize in the builder instance the unprocessed files. However, I don't think it's a good idea, one reason being that I would need to persist them somehow.
Powered by FUDForum
. Page generated in 0.05522 seconds