Merge commit RCL_2_4
authorEd Swartz <ed.swartz@nokia.com>
Tue, 29 Jun 2010 18:12:58 -0500
branchRCL_2_4
changeset 1561 e855462d0c8d
parent 1560 2b3cd56e1090 (current diff)
parent 1555 c030090b5e2a (diff)
child 1562 5f0fe8ab4e1b
Merge commit
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java	Tue Jun 29 15:14:38 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java	Tue Jun 29 18:12:58 2010 -0500
@@ -534,9 +534,11 @@
 			args.add("-d"); //$NON-NLS-1$
 		}
 		
+		args.add("-j"); //$NON-NLS-1$
 		if (buildConfig.getCarbideProject().isConcurrentBuildingEnabled()) {
-			args.add("-j"); //$NON-NLS-1$
 			args.add(Integer.toString(cpi.concurrentBuildJobs()));
+		} else {
+			args.add(Integer.toString(1));
 		}
 		
 		if (cpi.shouldOverrideMakeEngine()) {
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java	Tue Jun 29 15:14:38 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java	Tue Jun 29 18:12:58 2010 -0500
@@ -141,7 +141,7 @@
 		concurrentBuildJobsLabel.setLayoutData(gd);
 
 		concurrentBuildJobsControl = new Spinner(content, SWT.BORDER | SWT.READ_ONLY);
-		concurrentBuildJobsControl.setValues(0, 2, 50, 0, 1, 4);
+		concurrentBuildJobsControl.setValues(0, 1, 50, 0, 1, 4);
 		concurrentBuildJobsControl.setBackground(shell.getDisplay().getSystemColor(SWT.COLOR_WHITE));
 		concurrentBuildJobsControl.setEnabled(useConcurrentBuildingCheck.getSelection());
 		concurrentBuildJobsControl.setToolTipText(Messages.getString("SharedPrefs.ConcurrentBuildJobsToolTip")); //$NON-NLS-1$