Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2007-04-16 23:46:04 +0000
committerDarin Swanson2007-04-16 23:46:04 +0000
commit26215c39d34344aa139c20e426808bd790bc7dba (patch)
tree1b60553297bf54d177e505146991a6d0167a2fe5 /org.eclipse.ui.externaltools
parentb87a11f029d8b7ff8029c9cd8fbb9864b267a16d (diff)
downloadeclipse.platform.debug-26215c39d34344aa139c20e426808bd790bc7dba.tar.gz
eclipse.platform.debug-26215c39d34344aa139c20e426808bd790bc7dba.tar.xz
eclipse.platform.debug-26215c39d34344aa139c20e426808bd790bc7dba.zip
Bug 179837 - Some external tool builders not running, then NPE
Diffstat (limited to 'org.eclipse.ui.externaltools')
-rw-r--r--org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolBuilder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolBuilder.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolBuilder.java
index f1aedbde1..ba3a220eb 100644
--- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolBuilder.java
+++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/model/ExternalToolBuilder.java
@@ -218,12 +218,14 @@ public final class ExternalToolBuilder extends IncrementalProjectBuilder {
switch (buildKind) {
case IncrementalProjectBuilder.INCREMENTAL_BUILD :
buildType = IExternalToolConstants.BUILD_TYPE_INCREMENTAL;
+ buildDelta = getDelta(getProject());
break;
case IncrementalProjectBuilder.FULL_BUILD :
buildType = IExternalToolConstants.BUILD_TYPE_FULL;
break;
case IncrementalProjectBuilder.AUTO_BUILD :
buildType = IExternalToolConstants.BUILD_TYPE_AUTO;
+ buildDelta = getDelta(getProject());
break;
case IncrementalProjectBuilder.CLEAN_BUILD :
buildType = IExternalToolConstants.BUILD_TYPE_CLEAN;
@@ -233,7 +235,6 @@ public final class ExternalToolBuilder extends IncrementalProjectBuilder {
break;
}
buildProject= getProject();
- buildDelta= getDelta(getProject());
}
/**

Back to the top