require_relative './environment.rb' class SvnExports < Hash def self.export(dep_dir,uri) if(!File.exists?("#{Environment.dev_root}/dep/#{dep_dir}")) dest="#{Environment.dev_root}/dep/#{dep_dir}" Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}" if !dest.include?("@") Environment.execute "svn export #{v} #{Environment.dev_root}/dep/#{dep_dir}@" if dest.include?("@") end end end