Skip to main content


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 Mising name is currently offline Timotei Mising nameFriend
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: Sat Apr 27 03:13:57 GMT 2024

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

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

Back to the top