lib/jruby-warck/constants.rb in jruby-warck-1.2.2 vs lib/jruby-warck/constants.rb in jruby-warck-1.2.3
- old
+ new
@@ -5,10 +5,10 @@
module Constants
HOME = File.expand_path(File.dirname(__FILE__) + '/../..') unless defined?(HOME)
ADDITIONAL_CLASSPATH = FileList[IO.readlines(Dir.pwd + "/cp.entries").map(&:chomp).reject { |line| line.each_char.first == "#" }] rescue FileList[]
- CLASSPATH = "Class-Path: /opt/jruby/lib/jruby-complete/jruby-complete.jar#{ADDITIONAL_CLASSPATH}".scan(/.{70}/).join("\n ")
+ CLASSPATH = "Class-Path: /opt/jruby/lib/jruby-complete/jruby-complete.jar #{ADDITIONAL_CLASSPATH}".scan(/.{1,70}/).join("\n ")
WEB_XML = <<-XML
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">