Sha256: 9dab7b8a5d64d5ef1d077c57d300134f37f321c3652a2cbeedb3aa498bb573ff

Contents?: true

Size: 432 Bytes

Versions: 40

Compression:

Stored size: 432 Bytes

Contents

require 'rails/generators'

module ActiveFedora
  class Config::SolrGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def generate
      # Overwrite the configuration files that Blacklight has installed
      copy_file 'jetty.yml', 'config/jetty.yml', force: true
      copy_file 'solr.yml', 'config/solr.yml', force: true
      directory 'solr_conf', 'solr_conf'
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
active-fedora-8.7.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.6.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.5.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.4.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.4.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-7.3.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-7.3.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.4.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.3.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.2.2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.2.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.2.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-7.2.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-6.8.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.1.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.0.1 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.0.0 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.0.0.rc3 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.0.0.rc2 lib/generators/active_fedora/config/solr/solr_generator.rb
active-fedora-8.0.0.rc1 lib/generators/active_fedora/config/solr/solr_generator.rb