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
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?

Previous Topic:Eclipse Platform Api - site down
Next Topic:How to achieve lightweight workspaces
Goto Forum:

Current Time: Wed Apr 25 09:09:17 GMT 2018

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

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