Class: Buildr::Shell::BeanShell
- Includes:
- JRebel
- Defined in:
- lib/buildr/core/shell.rb
Overview
:nodoc:
Constant Summary collapse
- VERSION =
'2.0b4'
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods included from JRebel
#jrebel_args, #jrebel_home, #jrebel_props, #rebel_jar
Methods inherited from Base
Constructor Details
This class inherits a constructor from Buildr::Shell::Base
Class Method Details
Instance Method Details
#launch(task) ⇒ Object
36 37 38 39 40 41 42 43 44 45 |
# 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 |