Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IncrementalProjectBuilder delta - leave it for the next time?
IncrementalProjectBuilder delta - leave it for the next time? [message #695224] Mon, 11 July 2011 10:11
Timotei D is currently offline Timotei DFriend
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.
Previous Topic:run a process in eclipse plugin console
Next Topic:How do I install documentation for new API?
Goto Forum:
  


Current Time: Wed Nov 26 00:33:22 GMT 2014

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

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