File: java_compilation.rb

package info (click to toggle)
rake-compiler 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 324 kB
  • sloc: ruby: 1,497; makefile: 3
file content (7 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
Given %r{^I've installed the Java Development Kit$} do
  pending('Cannot locate suitable Java compiler (the Java Development Kit) in the PATH.') unless search_path(%w(javac javac.exe))
end

Given %r{^I've installed JRuby$} do
  pending('Cannot locate a JRuby installation in the PATH.') unless search_path(%w(jruby jruby.exe jruby.bat))
end