Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorOleg Krasilnikov2008-03-20 11:05:14 +0000
committerOleg Krasilnikov2008-03-20 11:05:14 +0000
commite2b4a4cf525498dc2783522aa0f8ef97a1e7be51 (patch)
tree9055660d6bb5b114c4cf4b2c7854248ba05b91f0 /build
parent903a55f94c686983f03370911dc3ed6cf79d2f0a (diff)
downloadorg.eclipse.cdt-e2b4a4cf525498dc2783522aa0f8ef97a1e7be51.tar.gz
org.eclipse.cdt-e2b4a4cf525498dc2783522aa0f8ef97a1e7be51.tar.xz
org.eclipse.cdt-e2b4a4cf525498dc2783522aa0f8ef97a1e7be51.zip
Bug #223044 : Build All Configurations does not run other project builders
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
index b9c0f7b6002..b6d1b203c4b 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/core/ManagedBuildManager.java
@@ -4565,12 +4565,16 @@ public class ManagedBuildManager extends AbstractCExtension {
}
public static void buildConfigurations(IConfiguration[] configs, IBuilder builder, IProgressMonitor monitor) throws CoreException{
+ buildConfigurations(configs, builder, monitor, true);
+ }
+
+ public static void buildConfigurations(IConfiguration[] configs, IBuilder builder, IProgressMonitor monitor, boolean allBuilders) throws CoreException{
Map map = sortConfigs(configs);
for(Iterator iter = map.entrySet().iterator(); iter.hasNext();){
Map.Entry entry = (Map.Entry)iter.next();
IProject proj = (IProject)entry.getKey();
IConfiguration[] cfgs = (IConfiguration[])entry.getValue();
- buildConfigurations(proj, cfgs, builder, monitor);
+ buildConfigurations(proj, cfgs, builder, monitor, allBuilders);
}
}
@@ -4600,9 +4604,8 @@ public class ManagedBuildManager extends AbstractCExtension {
return cfgMap;
}
- private static void buildConfigurations(final IProject project, IConfiguration[] configs, IBuilder builder, final IProgressMonitor monitor) throws CoreException{
-// final IProject project = configs[0].getOwner().getProject();
- final boolean runAllBuidlers = false;
+ private static void buildConfigurations(final IProject project, IConfiguration[] configs, IBuilder builder, final IProgressMonitor monitor, boolean allBuilders) throws CoreException{
+ final boolean runAllBuidlers = allBuilders;
final Map map = builder != null ?
BuilderFactory.createBuildArgs(configs, builder)
: BuilderFactory.createBuildArgs(configs);

Back to the top