Community
Participate
Working Groups
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:
PRODUCT VERSION: 119
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).
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?
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.
Auto build is now called is use default option is changed or if use default is off. In build > 2002-04-19