1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Bug # 228018 : Resource Configuration for non-toolchain consumed file breaks build.

This commit is contained in:
Oleg Krasilnikov 2008-05-03 09:26:45 +00:00
parent be0117f55a
commit 4ea32ecc49

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2006, 2007 Intel Corporation and others.
* Copyright (c) 2006, 2008 Intel Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@ -604,6 +604,9 @@ public class BuildDescription implements IBuildDescription {
ToolInfoHolder h = null;
if(rcInfo instanceof IFileInfo){
IFileInfo fi = (IFileInfo)rcInfo;
ITool[] tools = fi.getToolsToInvoke();
if(tools.length > 0 )
{
tool = fi.getToolsToInvoke()[0];
String exts[] = tool.getAllInputExtensions();
String locString = location.toString();
@ -614,6 +617,7 @@ public class BuildDescription implements IBuildDescription {
ext = e;
}
}
}
} else {
h = getToolInfo(rc);
ToolAndType tt = getToolAndType(h, rc, true);