def _gen_source_entries(self):
    output = io.StringIO()
    if self.project.linked_resources:
        excluding = '|'.join(self.project.linked_resources.keys())
        output.write(('<entry excluding="%s" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>\n' % excluding))
        for dep in self.project.linked_resources:
            output.write(('<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="%s"/>\n' % dep))
    return output.getvalue()
def _gen_source_entries(self):
    output = io.StringIO()
    if self.project.linked_resources:
        excluding = '|'.join(self.project.linked_resources.keys())
        output.write(('<entry excluding="%s" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=/>\n' % excluding))
        for dep in self.project.linked_resources:
            output.write(('<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="%s"/>\n' % dep))
    return output.getvalue()