class Rake::Delphi::Android::JavaSDK

Public Instance Methods

jarsigner() click to toggle source
# File lib/rake/delphi/android/sdk.rb, line 188
def jarsigner
  jarsigner = path.to_s
  jarsigner += '\\jarsigner.exe' unless jarsigner.match(/jarsigner\.exe$/i)
  return Rake.quotepath('', jarsigner)
end
keystore() click to toggle source
Calls superclass method Rake::Delphi::Android::SDK#keystore
# File lib/rake/delphi/android/sdk.rb, line 194
def keystore
  key_store = super
  key_store = Rake.quotepath('', key_store.to_s.double_delimiters)
end
keystore_params() click to toggle source
# File lib/rake/delphi/android/sdk.rb, line 199
def keystore_params
  key_store_params = ENV['DELPHI_ANDROID_KEYSTORE_PARAMS']
  warn 'Please, set DELPHI_ANDROID_KEYSTORE_PARAMS to alias,method,keystore_password,key_password' unless key_store_params
  key_alias, key_params = key_store_params.to_s.split(',', 2)
  return [key_alias, key_params]
end
path() click to toggle source
# File lib/rake/delphi/android/sdk.rb, line 182
def path
  @jdk_path = ENV['JAVA_SDK_PATH'] || @jdk_path
  warn 'Please, set JAVA_SDK_PATH to the path where jarsigner.exe is located' unless @jdk_path
  @jdk_path
end