Sha256: cc08cd7025c9aad5e5e29e7badbfd7d77d48a7f01790ce6dc5105c563f19ff23

Contents?: true

Size: 555 Bytes

Versions: 5

Compression:

Stored size: 555 Bytes

Contents

namespace :jetty do
  desc "Copies the default Solr & Fedora configs into the bundled Hydra Testing Server"
  task :config do
    Rake::Task['hydra_works:jetty:download_jars'].invoke
    Rake::Task["jetty:config_solr"].invoke
  end

  desc "Copies the contents of solr_conf into the Solr development-core and test-core of Testing Server"
  task :config_solr do
    FileList['solr_conf/conf/*'].each do |f|
      cp("#{f}", 'jetty/solr/development-core/conf/', verbose: true)
      cp("#{f}", 'jetty/solr/test-core/conf/', verbose: true)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hydra-works-0.6.0 lib/tasks/jetty.rake
hydra-works-0.5.0 lib/tasks/jetty.rake
hydra-works-0.4.0 lib/tasks/jetty.rake
hydra-works-0.3.0 lib/tasks/jetty.rake
hydra-works-0.2.0 lib/tasks/jetty.rake