Class: Buildr::Shell::BeanShell
- Includes:
- JavaRebel
- Defined in:
- lib/buildr/core/shell.rb
Constant Summary collapse
- VERSION =
'2.0b4'
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
Methods included from JavaRebel
#rebel_args, #rebel_home, #rebel_props
Methods inherited from Base
Constructor Details
This class inherits a constructor from Buildr::Shell::Base
Class Method Details
.artifact ⇒ Object
35 36 37 |
# File 'lib/buildr/core/shell.rb', line 35 def artifact "org.beanshell:bsh:jar:#{version}" end |
.lang ⇒ Object
39 40 41 |
# File 'lib/buildr/core/shell.rb', line 39 def lang :java end |
.to_sym ⇒ Object
43 44 45 |
# File 'lib/buildr/core/shell.rb', line 43 def to_sym :bsh end |
Instance Method Details
#launch ⇒ Object
48 49 50 51 52 53 54 55 |
# File 'lib/buildr/core/shell.rb', line 48 def launch cp = project.compile.dependencies + [project.path_to(:target, :classes), Buildr.artifact(BeanShell.artifact)] Java::Commands.java 'bsh.Console', { :properties => rebel_props(project), :classpath => cp, :java_args => rebel_args } end |