Eclipse: Change Resources without creating a Resource Delta or Resource Changed Event
posted 2 years ago
I'm implementing an Eclipse plugin that starts some Jobs (org.eclipse.core.runtime.jobs.Job) during the Autobuild of Eclipse. These Jobs run longer than the Autobuild itself and they maniplulate files in the project. While the jobs are running, only modifications done by the user should trigger new Autobuilds. The problem is that all changed done by my jobs also trigger Autobuilds.
I'm looking for a possibility to create and manipulate resources without triggering these builds. I thought about somehing like suppressing the creation of resource change events or something but i didnt find out how to do that. I hope someone can tell me how to do that or how to bypass this problem. I know about the WorkspaceRunnable and WorkspaceJob, but this is not what i was looking for, because they will block the whole project while they are running and this denys the possibility of userinteraction the whole time.