# -*- ruby -*- $LOAD_PATH << './lib' require 'rjack-jetty-jsp/base' require 'rubygems' gem 'rjack-tarpit', '~> 1.2.0' require 'rjack-tarpit' include RJack t = TarPit.new( 'rjack-jetty-jsp', Jetty::Jsp::VERSION, :jars_from_assembly, :java_platform ) t.specify do |h| h.developer( "David Kellum", "dek-oss@gravitext.com" ) h.extra_deps << [ 'rjack-jetty', "~> #{Jetty::Jsp::JETTY_VERSION}.0" ] h.rubyforge_name = 'rjack' h.remote_rdoc_dir = 'jetty-jsp' end t.assembly_version = 1.0 task :check_pom_deps do t.test_line_match( 'pom.xml', %r[#{ Jetty::Jsp::JETTY_VERSION }] ) end task :check_history_version do t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / ) end task :check_history_date do t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ ) end task :gem => [ :check_pom_deps, :check_history_version ] task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ] task :push => [ :check_history_date ] t.define_tasks