static void deleteReference(Args _args) { #AOT TreeNode referencesNode; TreeNode referenceNode; name referenceName; void deleteNode(name _referenceName) { referenceName = _referenceName; if( referencesNode ) { referenceNode=referencesNode.AOTfindChild(referenceName); if(referenceNode) { referenceNode.AOTdelete(); } } referencesNode.AOTsave(); } ; referencesNode = TreeNode::findNode( #ReferencesPath ); referenceName ="ThoughtWorks.QRCode"; deleteNode(referenceName); info("Done!"); }