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


38
39
40
# File 'lib/warbler/web_server.rb', line 38

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

#main_classObject


42
43
44
# File 'lib/warbler/web_server.rb', line 42

def main_class
  'WarMain.class'
end