Bug 549500 - AutoBuildJob unnecessarily fires the PRE_BUILD and POST_BUILD events
Summary: AutoBuildJob unnecessarily fires the PRE_BUILD and POST_BUILD events
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-23 14:05 EDT by Snjezana Peco CLA
Modified: 2021-07-13 01:42 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Snjezana Peco CLA 2019-07-23 14:05:49 EDT
See https://github.com/eclipse/eclipse.platform.resources/blob/master/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/events/AutoBuildJob.java#L143
If the shouldBuild method returns false, AutoBuildJob will fire the PRE_BUILD and POST_BUILD events although a workspace build isn't called.

The original issue: https://github.com/redhat-developer/vscode-java/issues/996
Comment 1 Eclipse Genie CLA 2021-07-13 01:35:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Andrey Loskutov CLA 2021-07-13 01:42:43 EDT
See bug 573595 comment 11. This is not a bug, but an ancient API contract.