# -*- ruby -*- require 'rubygems' require 'bundler/setup' require 'rjack-tarpit' RJack::TarPit.new( 'rjack-jetty-jsp' ) do |tp| tp.rdoc_destinations << 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/jetty-jsp' tp.publish_rdoc_rsync_flags = %w[ -rL ] end file 'webapps/test.war' => [ 'webapps/test/index.jsp', 'webapps/test/WEB-INF/web.xml' ] do sh( 'jar cvf webapps/test.war ' + '-C webapps/test index.jsp -C webapps/test WEB-INF/web.xml' ) end