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:
parent
17656a4e70
commit
04baae6ead
2 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||
|
|
|
@ -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$
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue