Class: Rake::Delphi::Android::JavaSDK
- Inherits:
-
SDK
- Object
- BasicTask
- CustomExec
- CustomDelphiTool
- Dcc32Tool
- SDK
- Rake::Delphi::Android::JavaSDK
- Defined in:
- lib/rake/delphi/android/sdk.rb
Overview
class PAClientSDKOptions
Constant Summary
Constants inherited from SDK
Constants inherited from CustomDelphiTool
CustomDelphiTool::BDSRegRoot, CustomDelphiTool::DelphiRegRoot, CustomDelphiTool::EDSRegRoot, CustomDelphiTool::EmbarcaderoRegRoot
Instance Attribute Summary
Attributes inherited from Dcc32Tool
Instance Method Summary collapse
Methods inherited from SDK
#aapt, #initialize, #lib, #lib=, #linker, #linker_option, #linker_option=, #platform, #read_default_config, #read_properties, #stripdebug, #zipalign
Methods inherited from Dcc32Tool
#delphidir, #delphilib, #init_env, #readLibraryPaths, toolName
Methods inherited from CustomDelphiTool
checkToolFailure, #delphidir, find, #initialize, #options, readDelphiDir, readUserOption, #regroot, reinit, rootForVersion, toolName, #toolpath, #version, version4version, #versionInfoClass
Methods inherited from CustomExec
Methods inherited from BasicTask
Constructor Details
This class inherits a constructor from Rake::Delphi::Android::SDK
Instance Method Details
#jarsigner ⇒ Object
188 189 190 191 192 |
# 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 ⇒ Object
194 195 196 197 |
# 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 ⇒ Object
199 200 201 202 203 204 |
# 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 ⇒ Object
182 183 184 185 186 |
# 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 |