Skip to content

Commit

Permalink
[Truffle] Remove support for jruby_eclipse, mx support is better and …
Browse files Browse the repository at this point in the history
…easier now.
  • Loading branch information
eregon committed Nov 13, 2016
1 parent 28aebbb commit 98ff4f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 117 deletions.
107 changes: 0 additions & 107 deletions tool/jruby_eclipse

This file was deleted.

10 changes: 0 additions & 10 deletions tool/jt.rb
Expand Up @@ -145,11 +145,6 @@ def self.find_sl
raise "couldn't find truffle-sl.jar - build Truffle and find it in there"
end

def self.jruby_eclipse?
# tool/jruby_eclipse only works on release currently
ENV["JRUBY_ECLIPSE"] == "true" and !truffle_version.end_with?('SNAPSHOT')
end

def self.mx?
mx_ruby_jar = "#{JRUBY_DIR}/mxbuild/dists/ruby.jar"
constants_file = "#{JRUBY_DIR}/core/src/main/java/org/jruby/runtime/Constants.java"
Expand All @@ -174,8 +169,6 @@ def self.find_jruby
ENV['RUBY_BIN']
elsif mx?
"#{JRUBY_DIR}/tool/jruby_mx"
elsif jruby_eclipse?
"#{JRUBY_DIR}/tool/jruby_eclipse"
else
"#{JRUBY_DIR}/bin/jruby"
end
Expand Down Expand Up @@ -432,8 +425,6 @@ def mspec(command, *args)

if Utilities.mx?
args.unshift "-ttool/jruby_mx"
elsif Utilities.jruby_eclipse?
args.unshift "-ttool/jruby_eclipse"
end

sh env_vars, Utilities.find_ruby, 'spec/mspec/bin/mspec', command, '--config', 'spec/truffle/truffle.mspec', *args
Expand Down Expand Up @@ -1329,7 +1320,6 @@ def where(*args)
end

def check_ambiguous_arguments
ENV.delete "JRUBY_ECLIPSE" # never run from the Eclipse launcher here
clean
# modify pom
pom = "#{JRUBY_DIR}/truffle/pom.rb"
Expand Down

0 comments on commit 98ff4f8

Please sign in to comment.