IncrementalProjectBuilder delta - leave it for the next time? [message #695224] |
Mon, 11 July 2011 10:11 |
Timotei Mising name Messages: 89 Registered: March 2010 |
Member |
|
|
Hi everyone!
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.
Any ideas?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03817 seconds