1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for bugzilla 76483 - [Managed Make] ToolReferences with no defined output extensions answer that they build everything

This commit is contained in:
Sean Evoy 2004-10-18 17:23:50 +00:00
parent a192c2f172
commit c7caaff4a6

View file

@ -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);
}