<commit_before>#lib_dir = File.join(File.dirname(__FILE__), '..', 'lib')
#$: << File.expand_path(lib_dir)

require 'soapui-util'

begin
  puts "CURRENT JH = #{ENV['JAVA_HOME']}"
  java_home = %x(echo $JAVA_HOME) ||  %x(which java)
  puts "LOG: setting java_home to: '#{java_home}'"
  ENV['JAVA_HOME'] = java_home
rescue
  puts "WARN: Problem setting JAVA_HOME to: '#{java_home}'"
end

@use_local_host=false
def get_wsdl_file
  @use_local_host ? 'http://localhost/api/soap?wsdl' : 'file:' + File.join(File.dirname(File.expand_path(__FILE__)), 'wsdl/spyne.wsdl')
end
<commit_msg>trying to debug travis ci<commit_after>#lib_dir = File.join(File.dirname(__FILE__), '..', 'lib')
#$: << File.expand_path(lib_dir)

require 'soapui-util'

begin
  puts "LOG: current JAVA_HOME = #{ENV['JAVA_HOME']}"
  java_home = %x(which java)
  puts "LOG: setting JAVA_HOME to: #{java_home}"
  ENV['JAVA_HOME'] ||= java_home
rescue
  puts "WARN: Problem setting JAVA_HOME to: '#{java_home}'"
end

@use_local_host=false
def get_wsdl_file
  @use_local_host ? 'http://localhost/api/soap?wsdl' : 'file:' + File.join(File.dirname(File.expand_path(__FILE__)), 'wsdl/spyne.wsdl')
end

{'fraction_non_alphanumeric': 0.17590987868284227, 'fraction_numerical': 0.0, 'mean_word_length': 5.794117647058823, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5353510', 'n_tokens_mistral': 478, 'n_tokens_neox': 462, 'n_words': 87}