Sha256: f00c9924ca5b034e32a60829a3f56f915c50115b2954c24adc42689aac8b00d3

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

#--
# Copyright (c) 2008-2010 David Kellum
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
# may not use this file except in compliance with the License.  You
# may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.  See the License for the specific language governing
# permissions and limitations under the License.
#++

require 'rjack-jetty'

module RJack
  module Jetty

    # Loads testservlets jar.
    module TestServlets
      require File.join( Jetty::JETTY_DIR, "rjack-jetty-1.0.jar" )
      import 'rjack.testservlets.SnoopServlet'
      import 'rjack.testservlets.PerfTestServlet'

      # Webapps directory containing "test/" expanded webapp and "test.war"
      WEBAPPS_DIR = File.join( Jetty::JETTY_DIR, '..', '..', 'webapps' )

      WEBAPP_TEST_EXPANDED = File.join( WEBAPPS_DIR, 'test' )
      WEBAPP_TEST_WAR      = File.join( WEBAPPS_DIR, 'test.war' )
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rjack-jetty-7.2.2.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-6.1.26.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-6.1.25.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-6.1.24.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-6.1.23.0-java lib/rjack-jetty/test-servlets.rb