begin require 'jettywrapper' namespace :jetty do desc "Copies the application's solr config into jetty" task configure_solr: ['jetty:clean'] do FileList['solr_conf/conf/*'].each do |f| cp("#{f}", 'jetty/solr/blacklight-core/conf/', verbose: true) end end end rescue LoadError end