Methods

Warbler::JettyServer

Public Class Methods

new() click to toggle source
# File lib/warbler/web_server.rb, line 75
def initialize
  @artifact = Artifact.new(ENV["MAVEN_REPO"] || "http://repo2.maven.org/maven2",
                           "org.jruby.warbler", "warbler-embedded-jetty",
                           ENV["WEBSERVER_VERSION"] || "1.0.0")
end

Public Instance Methods

add(jar) click to toggle source
# File lib/warbler/web_server.rb, line 81
def add(jar)
  super
  jar.files["WEB-INF/webserver.properties"] = StringIO.new(mainclass = JettyWarMainargs = args0props = jetty.homeargs0 = {{warfile}}jetty.home = {{webroot}})
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.