def find_component(name)
      Find.find(self["frameworks/projects"]) do |filename|
        break File.dirname(filename).sub(%r{.+/src/}, "").gsub("/", ".") if
          File.basename(filename).sub(/\..*/, "") == name
      end
    end
def find_component(name)
      Find.find(self["frameworks/projects"]) do |filename|
        break File.dirname(filename).sub(%r{.+/src/}, "").gsub("/", ".") if
          File.basename(filename).sub(/\..*/, "") == name
      end
    end
------------------------------------------------------