# HG changeset patch # User dadubrow # Date 1277842992 18000 # Node ID c030090b5e2a742d90947da21a091a8e1a4830dc # Parent e848131666c1f0cc7c544613f3116a4e176b7f97 fix bug 11255 - see changeset 1345 diff -r e848131666c1 -r c030090b5e2a builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java Mon Jun 28 08:59:09 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv2Builder.java Tue Jun 29 15:23:12 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()) { diff -r e848131666c1 -r c030090b5e2a builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java --- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java Mon Jun 28 08:59:09 2010 -0500 +++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/ui/BuildSettingsUI.java Tue Jun 29 15:23:12 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$