lib/jbundler.rb in jruby-bundler-0.9.6 vs lib/jbundler.rb in jruby-bundler-0.9.7
- old
+ new
@@ -33,41 +33,46 @@
context.config
end
def self.require_jars
if context.vendor.vendored?
+ warn "jbundler require_jars - context.vendor.vendored"
jars = context.vendor.require_jars
if context.config.verbose
warn "jbundler classpath:"
jars.each do |path|
warn "\t#{path}"
end
end
elsif context.classpath.exists? && context.jarfile.exists_lock?
+ warn "jbundler require_jars - classpath.exists? "
require 'java'
context.classpath.require_classpath
if context.config.verbose
warn "jbundler classpath:"
JBUNDLER_CLASSPATH.each do |path|
warn "\t#{path}"
end
end
+ warn "jbundler require_jars - no_more_warnings"
Jars.no_more_warnings
end
end
-
+
def self.install( debug = false, verbose = false )
jbundler = JBundler::LockDown.new( context.config )
msg = jbundler.lock_down( false, debug, verbose )
puts msg if msg
end
def self.setup
if context.config.skip
warn "skip jbundler setup" if context.config.verbose
else
+ warn "jbundler require_jars"
require_jars
end
end
end
+warn "jbundler setup"
JBundler.setup