Class: Warbler::WebServer

Inherits:
Object
  • Object
show all
Defined in:
lib/warbler/web_server.rb

Direct Known Subclasses

JettyServer, WinstoneServer

Defined Under Namespace

Classes: Artifact

Instance Method Summary collapse

Instance Method Details

#add(jar) ⇒ Object



80
81
82
# File 'lib/warbler/web_server.rb', line 80

def add(jar)
  jar.files["WEB-INF/webserver.jar"] = @artifact.local_path
end

#main_classObject



84
85
86
# File 'lib/warbler/web_server.rb', line 84

def main_class
  'WarMain.class'
end