Bug 2403 - Changing build order should initiate incremental build (1GEYZPB)
Summary: Changing build order should initiate incremental build (1GEYZPB)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ryan Cooper CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 22:35 EDT by Kevin McGuire CLA
Modified: 2002-04-19 11:35 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 Kevin McGuire CLA 2001-10-10 22:35:46 EDT
If you change the preference so you can specify build order,
and change the order, autobuild should run if enabled (or do full build).

NOTES:
Comment 1 DJ Houghton CLA 2001-10-29 18:25:53 EST
PRODUCT VERSION:

119

Comment 2 Simon Arsenault CLA 2002-04-16 11:09:37 EDT
When changing the build order, the auto-build should run (not on the entire 
workspace, just the project being changed). There is an IAction implementation 
that will do that for you (look for *build*action).
Comment 3 Ryan Cooper CLA 2002-04-18 15:38:04 EDT
Should whether or not the rebuild occurs depend on the autobuild option on the 
Workbench preference page? The wording for that checkbox is "Perform rebuild 
automatically on resource modification". When we rearrange the build order, we 
are not modifying any resources, just changing the order in which they will be 
built. Should we add a new checkbox action to the build order preference page 
to detemine whether to rebuild after rearranging the build order?

Also, since the projects can be reordered in any way and there is no easy way 
to determine which projects will be affected by this reordering. shouldn't the 
rebuild be a full rebuild?
Comment 4 Simon Arsenault CLA 2002-04-18 15:54:40 EDT
Only cause a rebuild if the "Auto-build" option is on in the preference page. 
No need for a new option. I know the auto-build preference wording is a bit 
misleading (there is another PR for this).

Just cause a global incremental build to happen (Core will figure out what 
needs to be built, which may be a full build in the end). See the code that 
gets run when the "auto-build" preference is turned on. That is what you need 
to run.
Comment 5 Simon Arsenault CLA 2002-04-19 11:35:16 EDT
Auto build is now called is use default option is changed or if use default is 
off. In build > 2002-04-19