Sha256: 89152fa454cbd8c52748ae7499ce01d6167d1f54c575d8f42aa51607e5015141

Contents?: true

Size: 875 Bytes

Versions: 23

Compression:

Stored size: 875 Bytes

Contents

namespace :jetty do
  desc "Apply all configs to Testing Server (relies on hydra:jetty:config tasks unless you override it)"
  task :config do
    Rake::Task["hydra:jetty:config"].invoke
  end
end

namespace :hydra do
  namespace :jetty do
    desc "Copies the default Solr config into the bundled Hydra Testing Server"
    task :config do
      Rake::Task["hydra: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

    desc "Copies the default SOLR config files and starts up the fedora instance."
    task :load => [:config, 'jetty:start']
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
hydra-core-9.10.0 lib/railties/hydra_jetty.rake
hydra-core-9.9.0 lib/railties/hydra_jetty.rake
hydra-core-9.8.1 lib/railties/hydra_jetty.rake
hydra-core-9.8.0 lib/railties/hydra_jetty.rake
hydra-core-9.7.1 lib/railties/hydra_jetty.rake
hydra-core-9.7.0 lib/railties/hydra_jetty.rake
hydra-core-9.6.0 lib/railties/hydra_jetty.rake
hydra-core-9.5.0 lib/railties/hydra_jetty.rake
hydra-core-9.4.1 lib/railties/hydra_jetty.rake
hydra-core-9.4.0 lib/railties/hydra_jetty.rake
hydra-core-9.3.0 lib/railties/hydra_jetty.rake
hydra-core-9.2.2 lib/railties/hydra_jetty.rake
hydra-core-9.2.1 lib/railties/hydra_jetty.rake
hydra-core-9.2.0 lib/railties/hydra_jetty.rake
hydra-core-9.2.0.rc1 lib/railties/hydra_jetty.rake
hydra-core-9.1.4 lib/railties/hydra_jetty.rake
hydra-core-9.1.3 lib/railties/hydra_jetty.rake
hydra-core-9.1.2 lib/railties/hydra_jetty.rake
hydra-core-9.1.1 lib/railties/hydra_jetty.rake
hydra-core-9.1.0 lib/railties/hydra_jetty.rake