Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 222475 - No API available to know whether a project needs building.
Summary: No API available to know whether a project needs building.
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 221803
  Show dependency tree
 
Reported: 2008-03-12 16:47 EDT by Juan omínguez CLA
Modified: 2008-04-02 08:58 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan omínguez CLA 2008-03-12 16:47:21 EDT
Build ID: 3.3

Steps To Reproduce:
Apparently no IResource API exposes whether a project needs to be built. It's neccessary to solve Bug 221803.

More information:
Looked at internal classes BuildManager and AutoBuildJob. Information about deltas to be built is internal.

However, not so much information should be needed: perhaps just a "needsBuild()" boolean method on IProject would be enough.
Comment 1 Szymon Brandys CLA 2008-03-13 04:49:39 EDT
Why we can't just keep a flag for each project in UI, which is cleared when a build is performed (for the project) and set again when POST_CHANGE event comes?
Comment 2 Szymon Brandys CLA 2008-04-02 08:58:02 EDT
I agree with bug 221803, comment 1. For me this is WONTFIX.