don't show question dialog when junit is running RCL_2_4
authorwpaul
Wed, 27 Jan 2010 16:06:06 -0600
branchRCL_2_4
changeset 836 127ab3f4006e
parent 833 abb91251bab6
child 839 12b72acf0db7
don't show question dialog when junit is running
builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java	Wed Jan 27 11:05:22 2010 -0600
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/builder/CarbideSBSv1Builder.java	Wed Jan 27 16:06:06 2010 -0600
@@ -2460,7 +2460,7 @@
 		final IPreferenceStore prefsStore = CarbideBuilderPlugin.getDefault().getPreferenceStore();
 		
 		if (prefsStore.getBoolean(BuilderPreferenceConstants.PREF_DONT_PROMPT_FOR_DEPENDENCY_MISMATCH) == false &&
-				areWeManagingTheMakeFiles && !makeFileHasOurChanges(makefile)) {
+				areWeManagingTheMakeFiles && !makeFileHasOurChanges(makefile) && !WorkbenchUtils.isJUnitRunning()) {
 			
 			// if they are not then the user must have been building from the command line.  this means that
 			// any dependency files that exist could be stale so we need to delete them.  we also need to