Sha256: a9e6e8e29bf80dc08a17dfd78f2bf3ac4f2af4343985ad6093bf15f13dece895

Contents?: true

Size: 447 Bytes

Versions: 5

Compression:

Stored size: 447 Bytes

Contents

require 'fileutils'
require 'jettywrapper'

namespace :jetty do

  desc 'Configure solr schema'
  task :config do
    cp('solr_conf/schema.xml', 'jetty/solr/development-core/conf/schema.xml')
    cp('solr_conf/solrconfig.xml',
       'jetty/solr/development-core/conf/solrconfig.xml')
  end

  desc 'Remove the jetty and marmotta directories and recreate them'
  task :clean do
    FileUtils.rm_rf(MARMOTTA_HOME)
    Jettywrapper.clean
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rdf-marmotta-0.1.1 lib/tasks/jetty.rake
rdf-marmotta-0.1.0 lib/tasks/jetty.rake
rdf-marmotta-0.0.8 lib/tasks/jetty.rake
rdf-marmotta-0.0.7 lib/tasks/jetty.rake
rdf-marmotta-0.0.6 lib/tasks/jetty.rake