Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSean Evoy2004-10-18 13:23:50 -0400
committerSean Evoy2004-10-18 13:23:50 -0400
commitc7caaff4a65fe9a0bd5f016d2e105565251a72e5 (patch)
tree96fa2f080112ddcbe70ccbf97d3361a945b7435b /build
parenta192c2f172621fd921dbaebb14ee66fcee4f8f12 (diff)
downloadorg.eclipse.cdt-c7caaff4a65fe9a0bd5f016d2e105565251a72e5.tar.gz
org.eclipse.cdt-c7caaff4a65fe9a0bd5f016d2e105565251a72e5.tar.xz
org.eclipse.cdt-c7caaff4a65fe9a0bd5f016d2e105565251a72e5.zip
Fix for bugzilla 76483 - [Managed Make] ToolReferences with no defined output extensions answer that they build everything
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java
index a551ffb7ae6..f72f61ede10 100644
--- a/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java
+++ b/build/org.eclipse.cdt.managedbuilder.core/src/org/eclipse/cdt/managedbuilder/internal/core/ToolReference.java
@@ -569,7 +569,13 @@ public class ToolReference implements IToolReference {
* @see org.eclipse.cdt.managedbuilder.core.ITool#getOutputExtensions()
*/
public String[] getOutputExtensions() {
- if (outputExtensions == null) outputExtensions = new String();
+ if (outputExtensions == null){
+ if (parent != null) {
+ return parent.getOutputExtensions();
+ } else {
+ return new String[0];
+ }
+ }
return outputExtensions.split(DEFAULT_SEPARATOR);
}

Back to the top