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

fix for the child folder info creation

This commit is contained in:
Mikhail Sennikovsky 2007-11-16 13:09:22 +00:00
parent 17656a4e70
commit 04baae6ead
2 changed files with 9 additions and 0 deletions

View file

@ -84,6 +84,7 @@ public class FolderInfo extends ResourceInfo implements IFolderInfo {
createToolChain(extTc, tcId, parTc.getName(), false);
toolChain.createOptions(parTc);
toolChain.setUnusedChildren(parTc.getUnusedChildren());
ITool tools[] = parTc.getTools();
String subId = new String();

View file

@ -2752,6 +2752,14 @@ public class ToolChain extends HoldsOptions implements IToolChain, IBuildPropert
unusedChildren = translateUnusedIdSetToString(set);
}
void setUnusedChildren(String children){
if(CDataUtil.objectsEqual(unusedChildren, children))
return;
unusedChildrenSet = null;
unusedChildren = children;
}
private String translateUnusedIdSetToString(Set set){
return CDataUtil.arrayToString(set.toArray(), ";"); //$NON-NLS-1$
}