lib/buildr/jetty.rb in buildr-1.0.0 vs lib/buildr/jetty.rb in buildr-1.1.0

- old
+ new

@@ -41,13 +41,10 @@ # Artifacts required to run Jetty. REQUIRES = [ "org.mortbay.jetty:jetty:jar:6.1.1", "org.mortbay.jetty:jetty-util:jar:6.1.1", "org.mortbay.jetty:servlet-api-2.5:jar:6.1.1", "log4j:log4j:jar:1.2.13", "commons-logging:commons-logging:jar:1.1" ] - Java.rjb.onload do - Java.rjb.classpath << REQUIRES - Java.rjb.classpath << File.join(__DIR__, "jetty") - end + Java.rjb.classpath << REQUIRES << File.join(__DIR__, "jetty") # Default URL for Jetty. URL = "http://localhost:8080" def initialize() #:nodoc: