Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315652 - Automatic build doesn't reconfigure after creating a new active configuration
Summary: Automatic build doesn't reconfigure after creating a new active configuration
Status: VERIFIED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Autotools (show other bugs)
Version: 0.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.6   Edit
Assignee: Jeff Johnston CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 15:09 EDT by Jeff Johnston CLA
Modified: 2010-06-23 17:18 EDT (History)
0 users

See Also:


Attachments
Fix for problem (777 bytes, patch)
2010-06-03 15:13 EDT, Jeff Johnston CLA
overholt: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Johnston CLA 2010-06-03 15:09:53 EDT
If the sample hello world project is created and a new configuration is created in the Project Properties, then made active, a reconfiguration is not performed and the make gets an error not finding target all.
Comment 1 Jeff Johnston CLA 2010-06-03 15:11:26 EDT
The problem is that the builder isn't by default enabled for automatic build so the configuration builder doesn't do anything when it is called.  Attaching a patch to remove the check for isEnabled and simply setting the value to true.  There is already a check in place to see if anything has changed in the project or if the configuration is new or dirty.
Comment 2 Jeff Johnston CLA 2010-06-03 15:13:19 EDT
Created attachment 171005 [details]
Fix for problem
Comment 3 Andrew Overholt CLA 2010-06-03 15:48:56 EDT
Comment on attachment 171005 [details]
Fix for problem

Jeff and I discussed this change and it seems good to me.
Comment 4 Jeff Johnston CLA 2010-06-03 16:02:48 EDT
Fix checked in.
Comment 5 Andrew Overholt CLA 2010-06-03 16:26:36 EDT
Jeff, please be sure to verify this after a build includes it.  Switch the status to Resolved -> Verified when you've done so.