Sha256: 423ad72ebd381ea12558d4d6b11b1037a2c4cd946ffd96cec992fc58dbbc63d4

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

#--
# Copyright (c) 2008-2017 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-9.4.20.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.4.14.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.4.6.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.3.19.0-java lib/rjack-jetty/test-servlets.rb
rjack-jetty-9.3.16.0-java lib/rjack-jetty/test-servlets.rb