class Buildr::Shell::BeanShell

Constants

VERSION

Public Class Methods

artifact() click to toggle source
# File lib/buildr/core/shell.rb, line 31
def artifact
 "org.beanshell:bsh:jar:#{version}"
end
version() click to toggle source
# File lib/buildr/core/shell.rb, line 27
def version
 Buildr.settings.build['bsh'] || VERSION
end

Public Instance Methods

launch(task) click to toggle source
# File lib/buildr/core/shell.rb, line 36
def launch(task)
 cp = ( project.compile.dependencies +
 [project.path_to(:target, :classes), Buildr.artifact(BeanShell.artifact)] +
 task.classpath )
 Java::Commands.java 'bsh.Console', {
 :properties => jrebel_props(project).merge(task.properties),
 :classpath => cp,
 :java_args => jrebel_args + task.java_args
 }
end